From 1cb0983802839fecc66cd6c5dd67726cad7bf23d Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 30 Oct 2011 13:34:06 +0900 Subject: [PATCH 1/1] add copyright --- include/patchlevel.h | 5 ++++- win/tty/wintty.c | 1 + win/win32/mhmain.c | 1 + win/win32/mhsplash.c | 4 ++-- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/include/patchlevel.h b/include/patchlevel.h index 5704523..be307ae 100644 --- a/include/patchlevel.h +++ b/include/patchlevel.h @@ -13,7 +13,7 @@ * Incrementing EDITLEVEL can be used to force invalidation of old bones * and save files. */ -#define EDITLEVEL 0 +#define EDITLEVEL 1 #define COPYRIGHT_BANNER_A \ "NetHack, Copyright 1985-2003" @@ -21,6 +21,9 @@ #define COPYRIGHT_BANNER_B \ " By Stichting Mathematisch Centrum and M. Stephenson." +#define COPYRIGHT_BANNER_B2 \ +"NetHackExpress, Copyright 2011 by Kentaro SHIRAKATA." + #define COPYRIGHT_BANNER_C \ " See license for details." diff --git a/win/tty/wintty.c b/win/tty/wintty.c index 9cba7d7..127d0ea 100644 --- a/win/tty/wintty.c +++ b/win/tty/wintty.c @@ -309,6 +309,7 @@ char** argv; tty_putstr(BASE_WINDOW, 0, ""); tty_putstr(BASE_WINDOW, 0, COPYRIGHT_BANNER_A); tty_putstr(BASE_WINDOW, 0, COPYRIGHT_BANNER_B); + tty_putstr(BASE_WINDOW, 0, COPYRIGHT_BANNER_B2); tty_putstr(BASE_WINDOW, 0, COPYRIGHT_BANNER_C); tty_putstr(BASE_WINDOW, 0, ""); tty_display_nhwindow(BASE_WINDOW, FALSE); diff --git a/win/win32/mhmain.c b/win/win32/mhmain.c index e05d9e2..ae56347 100644 --- a/win/win32/mhmain.c +++ b/win/win32/mhmain.c @@ -829,6 +829,7 @@ LRESULT CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) NH_A2W( COPYRIGHT_BANNER_A "\n" COPYRIGHT_BANNER_B "\n" + COPYRIGHT_BANNER_B2 "\n" COPYRIGHT_BANNER_C, wbuf, BUFSZ diff --git a/win/win32/mhsplash.c b/win/win32/mhsplash.c index 3c974bc..f39875e 100644 --- a/win/win32/mhsplash.c +++ b/win/win32/mhsplash.c @@ -84,8 +84,8 @@ void mswin_display_splash_window (BOOL show_ver) buttop - controlrt.bottom - SPLASH_OFFSET_Y, 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_B2, COPYRIGHT_BANNER_C); strsize = strlen(buf); if (show_ver) { -- 2.11.0