Skip to content

Commit f9ef906

Browse files
authored
Merge pull request #4709 from MidnightCommander/4704_about_mc
Ticket #4704: add about box for `mc` and move display info there
2 parents ab1dbee + 06e6709 commit f9ef906

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+17812
-11671
lines changed

lib/global.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ mc_global_t mc_global =
114114

115115
};
116116

117+
const char PACKAGE_COPYRIGHT[] = N_ ("Copyright (C) 1996-2025 the Free Software Foundation");
118+
117119
#undef SUBSHELL_USE
118120

119121
/*** file scope macro definitions ****************************************************************/

lib/global.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ typedef struct
224224
/*** global variables defined in .c file *********************************************************/
225225

226226
extern mc_global_t mc_global;
227+
extern const char PACKAGE_COPYRIGHT[];
227228

228229
/*** declarations of public functions ************************************************************/
229230

maint/update-years.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ for i in $SOURCES; do
2121
done
2222

2323
# special case
24-
${SED-sed} -e "/$LINE/s/-[0-9]\{4\} the/-$YEAR the/" src/editor/editwidget.c > src/editor/editwidget.c.tmp && \
25-
mv -f src/editor/editwidget.c.tmp src/editor/editwidget.c
24+
${SED-sed} -e "/$LINE/s/-[0-9]\{4\} the/-$YEAR the/" lib/global.c > lib/global.c.tmp && \
25+
mv -f lib/global.c.tmp lib/global.c
2626

2727
# restore permissions
2828
chmod 755 tests/src/vfs/extfs/helpers-list/test_all

0 commit comments

Comments
 (0)