display version and build info at startup (trunk only)
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).
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
) );
|
||||
|
||||
Reference in New Issue
Block a user