Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…lines 1–18 unchanged (18 lines)
19
20/* modinst */
21#include "modinst.h"
22
23#define MODPACKDL_SUFFIX ".mpdl"
24
25#define MODPACK_CAPSTR "+Freeciv-mpdl-Devel-3.3-2024.Sep.18"
26#define MODLIST_CAPSTR "+Freeciv-modlist-Devel-3.3-2024.Sep.18"
27
28#define FCMP_CONTROLD ".control"
29
30typedef void (*dl_msg_callback)(const char *msg);
31typedef void (*dl_pb_callback)(int downloaded, int max);
32
…lines 33–54 unchanged (22 lines)

After

…lines 1–18 unchanged (18 lines)
19
20/* modinst */
21#include "modinst.h"
22
23#define MODPACKDL_SUFFIX ".mpdl"
24
25#define MODPACK_CAPSTR "+Freeciv-mpdl-Devel-3.4-2025.Jan.17"
26#define MODLIST_CAPSTR "+Freeciv-modlist-Devel-3.4-2025.Jan.17"
27
28#define FCMP_CONTROLD ".control"
29
30typedef void (*dl_msg_callback)(const char *msg);
31typedef void (*dl_pb_callback)(int downloaded, int max);
32
…lines 33–54 unchanged (22 lines)

Before

translation_unit
comment "/***********************************************************"...
preproc_ifdef
#ifndef "#ifndef"
identifier "FC__MODPACK_DOWNLOAD_H"
preproc_def
#define "#define"
identifier "FC__MODPACK_DOWNLOAD_H"
preproc_ifdef
#ifdef "#ifdef"
identifier "__cplusplus"
linkage_specification
extern "extern"
string_literal
" "\""
string_content "C"
" "\""
declaration_list
{ "{"
preproc_call
preproc_directive "#endif"
comment "/* __cplusplus */"
comment "/* modinst */"
preproc_include
#include "#include"
string_literal
" "\""
string_content "modinst.h"
" "\""
preproc_def
#define "#define"
identifier "MODPACKDL_SUFFIX"
preproc_arg "\".mpdl\""
preproc_def
#define "#define"
identifier "MODPACK_CAPSTR"
preproc_arg "\"+Freeciv-mpdl-Devel-3.3-2024.Sep.18\""
preproc_def
#define "#define"
identifier "MODLIST_CAPSTR"
preproc_arg "\"+Freeciv-modlist-Devel-3.3-2024.Sep.18\""
preproc_def
#define "#define"
identifier "FCMP_CONTROLD"
preproc_arg "\".control\""
type_definition (+21 nodes collapsed)
type_definition (+21 nodes collapsed)
declaration (+37 nodes collapsed)
type_definition (+67 nodes collapsed)
declaration (+29 nodes collapsed)
preproc_ifdef
#ifdef "#ifdef"
identifier "__cplusplus"
#endif ""
} "}"
#endif "#endif"
comment "/* __cplusplus */"
#endif "#endif"
comment "/* FC__MODPACK_DOWNLOAD_H */"

After

translation_unit
comment "/***********************************************************"...
preproc_ifdef
#ifndef "#ifndef"
identifier "FC__MODPACK_DOWNLOAD_H"
preproc_def
#define "#define"
identifier "FC__MODPACK_DOWNLOAD_H"
preproc_ifdef
#ifdef "#ifdef"
identifier "__cplusplus"
linkage_specification
extern "extern"
string_literal
" "\""
string_content "C"
" "\""
declaration_list
{ "{"
preproc_call
preproc_directive "#endif"
comment "/* __cplusplus */"
comment "/* modinst */"
preproc_include
#include "#include"
string_literal
" "\""
string_content "modinst.h"
" "\""
preproc_def
#define "#define"
identifier "MODPACKDL_SUFFIX"
preproc_arg "\".mpdl\""
preproc_def
#define "#define"
identifier "MODPACK_CAPSTR"
preproc_arg "\"+Freeciv-mpdl-Devel-3.4-2025.Jan.17\""
preproc_def
#define "#define"
identifier "MODLIST_CAPSTR"
preproc_arg "\"+Freeciv-modlist-Devel-3.4-2025.Jan.17\""
preproc_def
#define "#define"
identifier "FCMP_CONTROLD"
preproc_arg "\".control\""
type_definition (+21 nodes collapsed)
type_definition (+21 nodes collapsed)
declaration (+37 nodes collapsed)
type_definition (+67 nodes collapsed)
declaration (+29 nodes collapsed)
preproc_ifdef
#ifdef "#ifdef"
identifier "__cplusplus"
#endif ""
} "}"
#endif "#endif"
comment "/* __cplusplus */"
#endif "#endif"
comment "/* FC__MODPACK_DOWNLOAD_H */"