]> granicus.if.org Git - nethack/commitdiff
display version and build info at startup (trunk only)
authorkeni <keni>
Tue, 11 Oct 2011 02:37:31 +0000 (02:37 +0000)
committerkeni <keni>
Tue, 11 Oct 2011 02:37:31 +0000 (02:37 +0000)
Tested on the unix port; I've updated as many other ports as I can figure
out but they're not tested.  See window.doc for info on the changed banner
lines.  Also adds the ability to override the generic "Unix" port - used now to get
"MacOSX" into the version line instead of "Unix" (so we don't scare people who don't
know what's going on).

25 files changed:
doc/fixes35.0
doc/window.doc
include/global.h
include/patchlevel.h
src/restore.c
sys/amiga/Makefile.agc
sys/amiga/Makefile.ami
sys/amiga/winfuncs.c
sys/msdos/Makefile.BC
sys/msdos/Makefile.GCC
sys/msdos/Makefile.MSC
sys/os2/Makefile.os2
sys/share/pcmain.c
sys/unix/Makefile.src
sys/vms/Makefile.src
sys/wince/bootstrp.mak
sys/wince/mhmain.c
sys/winnt/Makefile.bcc
sys/winnt/Makefile.gcc
sys/winnt/Makefile.msc
util/makedefs.c
win/X11/winX.c
win/tty/wintty.c
win/win32/mhmain.c
win/win32/mhsplash.c

index 3c637f30b7584cae9692d9be329203e33265b67f..303ef1f832d564ab00dd76114f697dd3258fdd77 100644 (file)
@@ -527,6 +527,7 @@ when a sokoban puzzle has been completed (last pit or hole filled in),
        stop assessing luck penalties and lift most movement restrictions
 '`' command to show discoveries for one class of objects
 add "about nethack" to '?' menu as an alternate way to view 'v'+'#version'
+display version and build information at startup
 
 
 Platform- and/or Interface-Specific New Features
index 29c955ace02a9bb42888194ae0544e6ca97e18b6..fb79adf0f81ef7110870b884ad0b94b5bdd41d1e 100644 (file)
@@ -875,14 +875,15 @@ VIII.  Conventions
 
 init_nhwindows() is expected to display a gee-whiz banner window, including
 the Copyright message.  It is recommended that the COPYRIGHT_BANNER_A,
-COPYRIGHT_BANNER_B, and COPYRIGHT_BANNER_C macros from patchlevel.h be used
-for constructing the Copyright message.  COPYRIGHT_BANNER_A is a 
-quoted string that has the NetHack copyright declaration, 
-COPYRIGHT_BANNER_B is a quoted string that states who the copyright 
-belongs to, and COPYRIGHT_BANNER_C simply says "See License for
-details." Be sure to #include "patchlevel.h" to define these macros.
-Using the macros will prevent having to update the Copyright information
-in each window-port prior to each release.
+COPYRIGHT_BANNER_B, COPYRIGHT_BANNER_C, and COPYRIGHT_BANNER_D macros from
+patchlevel.h and date.h be used for constructing the Copyright message.
+COPYRIGHT_BANNER_A is a quoted string that has the NetHack copyright declaration,
+COPYRIGHT_BANNER_B is a quoted string that states who the copyright belongs to,
+COPYRIGHT_BANNER_C is a quoted string generated by makedefs that includes version
+and build information.  and COPYRIGHT_BANNER_D simply says "See License for details."
+Be sure to #include "patchlevel.h" and date.h to define these macros.  Using the
+macros will prevent having to update the Copyright information in each window-port
+prior to each release.
 
 Ports (MSDOS, TOS, MAC, etc) _may_ use window-port specific routines in
 their port specific files, _AT_THEIR_OWN_RISK_.  Since "port" and
index f7104884818001ea3735a17203d48685bed27f50..f728c33c711e6a60e43d30afcfacfe455425e744 100644 (file)
@@ -191,6 +191,9 @@ typedef char nhptext;
 # ifdef MAC
 #  define PORT_ID      "Mac"
 # endif
+# ifdef __APPLE__
+#  define PORT_ID      "MacOSX"
+# endif
 # ifdef MSDOS
 #  ifdef PC9800
 #  define PORT_ID      "PC-9800"
@@ -213,8 +216,11 @@ typedef char nhptext;
 # ifdef TOS
 #  define PORT_ID      "ST"
 # endif
-# ifdef UNIX
-#  define PORT_ID      "Unix"
+       /* Check again in case something more specific has been defined above. */
+# ifndef PORT_ID
+#  ifdef UNIX
+#   define PORT_ID     "Unix"
+#  endif
 # endif
 # ifdef VMS
 #  define PORT_ID      "VMS"
index 1b85ed42d12e155e29cdd9798ae53c97b1be2a0c..2fee2b03f82c39389a26bb846591e7c243160fd6 100644 (file)
 
 #define COPYRIGHT_BANNER_A \
 "NetHack, Copyright 1985-2011"
-
 #define COPYRIGHT_BANNER_B \
 "         By Stichting Mathematisch Centrum and M. Stephenson."
-
-#define COPYRIGHT_BANNER_C \
+         /* COPYRIGHT_BANNER_C is generated by makedefs into date.h */
+#define COPYRIGHT_BANNER_D \
 "         See license for details."
 
 /*
index ee8ee3556fac8bef1c9e29a902e8e90f9452f467..4d5136f7a1d92a074bf02429e12f18de8fce9fb1 100644 (file)
@@ -1276,8 +1276,8 @@ winid bannerwin; /* if not WIN_ERR, clear window and show copyright in menu */
        if (bannerwin != WIN_ERR) {
            /* for tty; erase copyright notice and redo it in the menu */
            clear_nhwindow(bannerwin);
-           /* COPYRIGHT_BANNER_A, COPYRIGHT_BANNER_B, COPYRIGHT_BANNER_C */
-           for (k = 1; k <= 3; ++k)
+           /* COPYRIGHT_BANNER_[ABCD] */
+           for (k = 1; k <= 4; ++k)
                add_menu(tmpwin, NO_GLYPH, &any, 0, 0,
                         ATR_NONE, copyright_banner_line(k), MENU_UNSELECTED);
            add_menu(tmpwin, NO_GLYPH, &any, 0, 0,
index 3479f085de5eea0d32729c5433fa667f953f2ab2..fb3b4694d6af6955ccc7f215acad966473eaa00c 100644 (file)
@@ -1244,7 +1244,7 @@ $(O)termcap.o:    $(TTY)termcap.c $(HDEP) $(I)wintty.h $(I)tcap.h
 $(O)topl.o:    $(TTY)topl.c $(HDEP) $(I)wintty.h $(I)tcap.h
 
 $(O)wintty.o:  $(TTY)wintty.c $(HDEP) $(I)wintty.h $(I)tcap.h \
-               $(I)patchlevel.h
+               $(I)date.h $(I)patchlevel.h
 
 $(O)amitty.o:  $(AMI)amitty.c $(HDEP)
 
index 6eed61b1b06aa7bafed4594c49d8d2c6081011b3..d926333dd6d8a5588d56de8915f638e0d38fa512 100644 (file)
@@ -1583,7 +1583,7 @@ $(O)termcap.o:    $(TTY)termcap.c $(HDEP) $(I)wintty.h $(I)tcap.h
 $(O)topl.o:    $(TTY)topl.c $(HDEP) $(I)wintty.h $(I)tcap.h
 
 $(O)wintty.o:  $(TTY)wintty.c $(HDEP) $(I)wintty.h $(I)tcap.h \
-               $(I)patchlevel.h
+               $(I)date.h $(I)patchlevel.h
 
 $(O)amitty.o:  $(AMI)amitty.c $(HDEP)
 
index 197eaa169ea296c75bc0184cfc247074659696bb..d1b631a7b76a0646259cb4a3df117d8b67b4148e 100644 (file)
@@ -7,6 +7,7 @@
 #include "NH:sys/amiga/winext.h"
 #include "NH:sys/amiga/winproto.h"
 #include "patchlevel.h"
+#include "date.h"
 
 extern struct TagItem scrntags[];
 
@@ -1304,6 +1305,7 @@ amii_init_nhwindows(argcp,argv)
     amii_putstr( WIN_BASE, 0, COPYRIGHT_BANNER_A);
     amii_putstr( WIN_BASE, 0, COPYRIGHT_BANNER_B);
     amii_putstr( WIN_BASE, 0, COPYRIGHT_BANNER_C);
+    amii_putstr( WIN_BASE, 0, COPYRIGHT_BANNER_D);
     amii_putstr( WIN_BASE, 0, "");
 
     Initialized = 1;
index 7869cae652bb4f0a0bf8a240f1e677b4fae81c9f..b5175e3a8c73929dcfbb0d7b72cc5f8df4e0ebab 100644 (file)
@@ -1629,7 +1629,7 @@ $(O)topl.B:     $(PCHB) $(WTTY)\topl.c     $(HACK_H) $(TERMCAP_H) $(WINTTY_H)
        @echo $(BCOPTS2) $(CFLAGUB) >> $(VROOMMCFG)
        $(CC) $(FLAGUB) $(COBJNAM)$@ $(WTTY)\topl.c
 
-$(O)wintty.o: $(PCHO) $(CONFIG_H) $(WTTY)\wintty.c $(PATCHLEVEL_H)
+$(O)wintty.o: $(PCHO) $(CONFIG_H) $(WTTY)\wintty.c $(PATCHLEVEL_H) $(DATE_H)
        @type schema$(SCHEMA).bc | find "$(@B)_o" > $(VROOMMCFG)
        @echo $(BCOPTS1) >> $(VROOMMCFG)
        @echo $(BCOPTS2) $(CFLAGUO) >> $(VROOMMCFG)
index 930e349cb902b8546f629c87965dcce97de9d488..9e4e42578049076a217fd177e19f982ce541b613 100644 (file)
@@ -1068,7 +1068,7 @@ $(O)termcap.o: ../win/tty/termcap.c $(HACK_H) $(INCL)/tcap.h
 $(O)topl.o: ../win/tty/topl.c $(HACK_H) $(INCL)/tcap.h
        $(CC) $(cflags) -o$@ ../win/tty/topl.c
 $(O)wintty.o: ../win/tty/wintty.c $(HACK_H) $(INCL)/dlb.h \
-               $(PATCHLEV_H) $(INCL)/tcap.h
+               $(INCL)/date.h $(PATCHLEV_H) $(INCL)/tcap.h
        $(CC) $(cflags) -o$@ ../win/tty/wintty.c
 $(O)Window.o: ../win/X11/Window.c $(INCL)/xwindowp.h $(INCL)/xwindow.h \
                $(CONFIG_H)
index 7ea3bdcde6b41322915de1ad19e922e4df3e1a78..3880f23238e7709537a2937a11f7c29ba34d06e5 100644 (file)
@@ -988,7 +988,7 @@ termcap.o: $(WIN)\termcap.c $(HACK_H) $(INCL)\tcap.h
 topl.o: $(WIN)\topl.c $(HACK_H) $(INCL)\tcap.h
        @$(CC) $(CFLAGS) $(SPECOPTS) /Fo$@ $(WIN)\topl.c
 wintty.o: $(WIN)\wintty.c $(HACK_H) $(INCL)\dlb.h \
-               $(INCL)\patchlev.h $(INCL)\tcap.h
+               $(INCL)\date.h $(INCL)\patchlev.h $(INCL)\tcap.h
        @$(CC) $(CFLAGS) $(SPECOPTS) /Fo$@ $(WIN)\wintty.c
 
 # src dependencies
index 5e5b37f7d22b03de50124f83e9bb59cbb4a9e22e..6f62ef6fd6b398d368288ff80abd1a4fb9decf8e 100644 (file)
@@ -1240,7 +1240,7 @@ $(OBJ)\termcap.o : $(WIN)\$(CB) $(HACK_H) $(INCL)\tcap.h
        $(WINCC)
 $(OBJ)\topl.o    : $(WIN)\$(CB) $(HACK_H) $(INCL)\tcap.h
        $(WINCC)
-$(OBJ)\wintty.o  : $(WIN)\$(CB) $(HACK_H) $(INCL)\tcap.h
+$(OBJ)\wintty.o  : $(WIN)\$(CB) $(HACK_H) $(INCL)\tcap.h $(INCL)\date.h
        $(WINCC)
 
 #
index da1873f819289838e3b030a18ce0391f5f88957b..67ea332db9323d32dc86d157a14933e4cb097b93 100644 (file)
@@ -6,6 +6,7 @@
 
 #include "hack.h"
 #include "dlb.h"
+#include "date.h"
 #ifdef SHORT_FILENAMES
 #include "patchlev.h"
 #else
@@ -278,9 +279,9 @@ char *argv[];
                error("Your clock is incorrectly set!");
 #endif
        if (!dlb_init()) {
-           pline("%s\n%s\n%s\n\nNetHack was unable to open the required file \"%s\".%s",
+           pline("%s\n%s\n%s\n%s\n\nNetHack was unable to open the required file \"%s\".%s",
                COPYRIGHT_BANNER_A, COPYRIGHT_BANNER_B,
-               COPYRIGHT_BANNER_C, DLBFILE,
+               COPYRIGHT_BANNER_C, COPYRIGHT_BANNER_D, DLBFILE,
 #ifdef WIN32
                        "\nAre you perhaps trying to run NetHack within a zip utility?");
 #else
index 0c923c116339bea854d6d3efdd3d9e73614f9ece..fe7f8054f9a5e620351ec285fd5ced6ebd302472 100644 (file)
@@ -612,7 +612,7 @@ termcap.o: ../win/tty/termcap.c $(HACK_H) ../include/tcap.h
 topl.o: ../win/tty/topl.c $(HACK_H) ../include/tcap.h
        $(CC) $(CFLAGS) -c ../win/tty/topl.c
 wintty.o: ../win/tty/wintty.c $(HACK_H) ../include/dlb.h \
-               ../include/patchlevel.h ../include/tcap.h
+               ../include/date.h ../include/patchlevel.h ../include/tcap.h
        $(CC) $(CFLAGS) -c ../win/tty/wintty.c
 Window.o: ../win/X11/Window.c ../include/xwindowp.h ../include/xwindow.h \
                $(CONFIG_H)
index 69e23db37c2bd76daa9e7e17ff7a8c91aa068b3f..a50ee357b76ed90f6f1616062cff3f0a773ea803 100644 (file)
@@ -352,7 +352,7 @@ getline.obj :       $(TTY)getline.c $(HACK_H) $(INC)func_tab.h
 termcap.obj :  $(TTY)termcap.c $(HACK_H) $(INC)tcap.h
 topl.obj :     $(TTY)topl.c $(HACK_H) $(INC)tcap.h
 wintty.obj :   $(TTY)wintty.c $(HACK_H) $(INC)dlb.h \
-               $(INC)patchlevel.h $(INC)tcap.h
+               $(INC)date.h $(INC)patchlevel.h $(INC)tcap.h
 Window.obj :   $(X11)Window.c $(INC)xwindowp.h $(INC)xwindow.h $(CONFIG_H)
 dialogs.obj :  $(X11)dialogs.c $(CONFIG_H)
 winX.obj :     $(X11)winX.c $(HACK_H) $(INC)winX.h $(INC)dlb.h \
index dbeef2dcf6b6418064cb9e82cc0ee00a9f1825ec..1a5bd429d78669af524023b6b8c916d2eb75b5f1 100644 (file)
@@ -679,7 +679,7 @@ $(O)termcap.o: ..\win\tty\termcap.c $(HACK_H) $(INCL)\tcap.h
 $(O)topl.o: ..\win\tty\topl.c $(HACK_H) $(INCL)\tcap.h
        $(CC) $(CFLAGSU) -Fo$@ ..\win\tty\topl.c
 $(O)wintty.o: ..\win\tty\wintty.c $(HACK_H) $(INCL)\dlb.h \
-               $(INCL)\patchlevel.h $(INCL)\tcap.h
+               $(INCL)\date.h $(INCL)\patchlevel.h $(INCL)\tcap.h
        $(CC) $(CFLAGSU) -Fo$@ ..\win\tty\wintty.c
 $(O)Window.o: ..\win\X11\Window.c $(INCL)\xwindowp.h $(INCL)\xwindow.h \
                $(CONFIG_H)
index dc1c91c475d92a212c65aebe67b7542d492a8d04..28a29c137532c91842e90b618da9965332c21617 100644 (file)
@@ -11,6 +11,7 @@
 #include "mhmsgwnd.h"
 #include "mhcmd.h"
 #include "mhmap.h"
+#include "date.h"
 #include "patchlevel.h"
 
 #define MAX_LOADSTRING 100
@@ -996,7 +997,8 @@ LRESULT CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
                                                        NH_A2W(
                                                                COPYRIGHT_BANNER_A "\n"
                                                                COPYRIGHT_BANNER_B "\n"
-                                                               COPYRIGHT_BANNER_C,
+                                                               COPYRIGHT_BANNER_C "\n"
+                                                               COPYRIGHT_BANNER_D,
                                                                wbuf,
                                                                NHSTR_BUFSIZE
                                                        ) );
index 69fd27d5aa11f2f25006aee7560d9b0b0a2ecaae..358feb966020199b4fa2f0320ee2fc74c859bec1 100644 (file)
@@ -1176,7 +1176,7 @@ $(O)termcap.o: ..\win\tty\termcap.c $(HACK_H) $(INCL)\tcap.h
 $(O)topl.o: ..\win\tty\topl.c $(HACK_H) $(INCL)\tcap.h
        $(cc) $(CFLAGS) -o$@ ..\win\tty\topl.c
 $(O)wintty.o: ..\win\tty\wintty.c $(HACK_H) $(INCL)\dlb.h \
-               $(INCL)\patchlevel.h $(INCL)\tcap.h
+               $(INCL)\date.h $(INCL)\patchlevel.h $(INCL)\tcap.h
        $(cc) $(CFLAGS) -o$@ ..\win\tty\wintty.c
 $(O)Window.o: ..\win\X11\Window.c $(INCL)\xwindowp.h $(INCL)\xwindow.h \
                $(CONFIG_H)
index 44a7c1d4efac3a8d0ab060c29e76c8ec16a19bdc..a6e6183862ea73ddc255a425e132ea073cea307d 100644 (file)
@@ -1142,7 +1142,7 @@ $(O)termcap.o: ../win/tty/termcap.c $(HACK_H) $(INCL)/tcap.h
 $(O)topl.o: ../win/tty/topl.c $(HACK_H) $(INCL)/tcap.h
        $(cc) $(CFLAGS) -o$@ ../win/tty/topl.c
 $(O)wintty.o: ../win/tty/wintty.c $(HACK_H) $(INCL)/dlb.h \
-               $(INCL)/patchlevel.h $(INCL)/tcap.h
+               $(INCL)/date.h $(INCL)/patchlevel.h $(INCL)/tcap.h
        $(cc) $(CFLAGS) -o$@ ../win/tty/wintty.c
 $(O)Window.o: ../win/X11/Window.c $(INCL)/xwindowp.h $(INCL)/xwindow.h \
                $(CONFIG_H)
index 4202ef9464b7c7694456c049d89bbdccaf083d80..aec40ac593cf7ca6b89ac9589c0c7ba53158e95b 100644 (file)
@@ -1250,7 +1250,7 @@ $(O)termcap.o: ..\win\tty\termcap.c $(HACK_H) $(INCL)\tcap.h
 $(O)topl.o: ..\win\tty\topl.c $(HACK_H) $(INCL)\tcap.h
        @$(CC) $(cflagsUtil) -Fo$@ ..\win\tty\topl.c
 $(O)wintty.o: ..\win\tty\wintty.c $(HACK_H) $(INCL)\dlb.h \
-               $(INCL)\patchlevel.h $(INCL)\tcap.h
+               $(INCL)\date.h $(INCL)\patchlevel.h $(INCL)\tcap.h
        @$(CC) $(cflagsUtil) -Fo$@ ..\win\tty\wintty.c
 $(O)Window.o: ..\win\X11\Window.c $(INCL)\xwindowp.h $(INCL)\xwindow.h \
                $(CONFIG_H)
index 628b2a1b762bfab05e01f428adc69ffa98bdd1ca..fea8c0f5adcd9f7f7f2cf2e668292e3d3f889f69 100644 (file)
@@ -165,6 +165,7 @@ extern void NDECL(objects_init);    /* objects.c */
 static void NDECL(make_version);
 static char *FDECL(version_string, (char *, const char *));
 static char *FDECL(version_id_string, (char *,const char *));
+static char *FDECL(bannerc_string, (char *,const char *));
 static char *FDECL(xcrypt, (const char *));
 static int FDECL(check_control, (char *));
 static char *FDECL(without_control, (char *));
@@ -1097,6 +1098,33 @@ const char *build_date;
     return outbuf;
 }
 
+static char *
+bannerc_string(outbuf, build_date)
+char *outbuf;
+const char *build_date;
+{
+    char subbuf[64], versbuf[64];
+
+    subbuf[0] = '\0';
+#ifdef PORT_SUB_ID
+    subbuf[0] = ' ';
+    Strcpy(&subbuf[1], PORT_SUB_ID);
+#endif
+#ifdef BETA
+    Strcat(subbuf, " Beta");
+#endif
+
+    Sprintf(outbuf, "         Version %s %s%s, built %s.", 
+version_string(versbuf, "."), 
+PORT_ID, subbuf, &build_date[4]);
+#if 0
+    Sprintf(outbuf, "%s NetHack%s %s Copyright 1985-%s (built %s)",
+           PORT_ID, subbuf, version_string(versbuf,"."), RELEASE_YEAR,
+           &build_date[4]);
+#endif
+    return outbuf;
+}
+
 void
 do_date()
 {
@@ -1158,6 +1186,8 @@ do_date()
        Fprintf(ofp,"#define VERSION_STRING \"%s\"\n", version_string(buf,"."));
        Fprintf(ofp,"#define VERSION_ID \\\n \"%s\"\n",
                version_id_string(buf, cbuf));
+       Fprintf(ofp,"#define COPYRIGHT_BANNER_C \\\n \"%s\"\n",
+               bannerc_string(buf, cbuf));
        Fprintf(ofp,"\n");
 #ifdef AMIGA
        {
index 1532c1f246a99337b5d69bf24cd45c5cb4580759..7d2bbc594ec8bb12911b3a6eed0f9bcc83908ef5 100644 (file)
@@ -55,6 +55,7 @@
 #else
 #include "patchlevel.h"
 #endif
+#include "date.h"
 
 #ifndef NO_SIGNAL
 #include <signal.h>
@@ -995,6 +996,7 @@ char** argv;
        COPYRIGHT_BANNER_A,
        COPYRIGHT_BANNER_B,
        COPYRIGHT_BANNER_C,
+       COPYRIGHT_BANNER_D,
        "",
        "",
        0
index e93a74cf0f47aea12f37484ffac2763d3ace3d30..3baba362e502624f025bb8bb7ce2eaf714b519a3 100644 (file)
@@ -11,6 +11,7 @@
 
 #include "hack.h"
 #include "dlb.h"
+#include "date.h"
 #ifdef SHORT_FILENAMES
 #include "patchlev.h"
 #else
@@ -351,6 +352,7 @@ char** argv;
     tty_putstr(BASE_WINDOW, 0, COPYRIGHT_BANNER_A);
     tty_putstr(BASE_WINDOW, 0, COPYRIGHT_BANNER_B);
     tty_putstr(BASE_WINDOW, 0, COPYRIGHT_BANNER_C);
+    tty_putstr(BASE_WINDOW, 0, COPYRIGHT_BANNER_D);
     tty_putstr(BASE_WINDOW, 0, "");
     tty_display_nhwindow(BASE_WINDOW, FALSE);
 }
index 34694722e198dc5b52d81c346c862da9f2744ca5..313c8b3659391700ea6f103aaeed79d3a4f1f405 100644 (file)
@@ -5,6 +5,7 @@
 
 #include "winMS.h"
 #include <commdlg.h>
+#include "date.h"
 #include "patchlevel.h"
 #include "resource.h"
 #include "mhmsg.h"
@@ -986,7 +987,8 @@ LRESULT CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
                                                        NH_A2W(
                                                                COPYRIGHT_BANNER_A "\n"
                                                                COPYRIGHT_BANNER_B "\n"
-                                                               COPYRIGHT_BANNER_C,
+                                                               COPYRIGHT_BANNER_C "\n"
+                                                               COPYRIGHT_BANNER_D,
                                                                wbuf,
                                                                BUFSZ
                                                        ) );
index 6c6729766d0a2527d23e3462040e89e375c96040..1c54d2410666ca356e7ec006006ce2be2e6d7ab4 100644 (file)
@@ -8,6 +8,7 @@
 #include "mhsplash.h"
 #include "mhmsg.h"
 #include "mhfont.h"
+#include "date.h"
 #include "patchlevel.h"
 #include "dlb.h"
 
@@ -85,8 +86,8 @@ void mswin_display_splash_window (BOOL show_ver)
            clientrt.right - 2 * SPLASH_OFFSET_X, controlrt.bottom, TRUE);
 
        /* Fill the text control */
-       Sprintf (buf, "%s\r\n%s\r\n%s\r\n\r\n", COPYRIGHT_BANNER_A, COPYRIGHT_BANNER_B,
-             COPYRIGHT_BANNER_C);
+       Sprintf (buf, "%s\r\n%s\r\n%s\r\n%s\r\n\r\n", COPYRIGHT_BANNER_A, COPYRIGHT_BANNER_B,
+             COPYRIGHT_BANNER_C, COPYRIGHT_BANNER_D);
        strsize = strlen(buf);
 
        if (show_ver) {