diff options
author | Bardur Arantsson <bardur@scientician.net> | 2014-12-13 13:54:38 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2014-12-13 13:54:38 +0100 |
commit | 1c622b5d3f659c1faa3d6eebd4d26ea6481f4df5 (patch) | |
tree | bb36a4f35255206372f638cde8e59620f7a4948b /src | |
parent | c14efb95172fbd18a43f2f5b5714454a9ccb321e (diff) |
Windows: Remove useless "Help" menu items
The corresponding files don't exist, so they're pretty useless.
Diffstat (limited to 'src')
-rw-r--r-- | src/angband.rc | 5 | ||||
-rw-r--r-- | src/main-win.c | 39 |
2 files changed, 0 insertions, 44 deletions
diff --git a/src/angband.rc b/src/angband.rc index 4fcd6561..37856f4a 100644 --- a/src/angband.rc +++ b/src/angband.rc @@ -105,11 +105,6 @@ ANGBAND MENU MENUITEM "Activate Screensaver", 411 } - POPUP "&Help" - { - MENUITEM "&General", 901 - MENUITEM "&Spoilers", 902 - } } ANGBAND ICON "angband.ico" diff --git a/src/main-win.c b/src/main-win.c index d6d8915f..9eafe314 100644 --- a/src/main-win.c +++ b/src/main-win.c @@ -163,9 +163,6 @@ #define IDM_OPTIONS_UNUSED 410 #define IDM_OPTIONS_SAVER 411 -#define IDM_HELP_GENERAL 901 -#define IDM_HELP_SPOILERS 902 - /* * This may need to be removed for some compilers XXX XXX XXX @@ -2452,42 +2449,6 @@ ofn.lStructSize = sizeof(OPENFILENAME); #endif - case IDM_HELP_GENERAL: - { - char buf[1024]; - char tmp[1024]; - path_build(tmp, 1024, ANGBAND_DIR_XTRA_HELP, "angband.hlp"); - if (check_file(tmp)) - { - sprintf(buf, "winhelp.exe %s", tmp); - WinExec(buf, SW_NORMAL); - } - else - { - plog_fmt("Cannot find help file: %s", tmp); - plog("Use the online help files instead."); - } - break; - } - - case IDM_HELP_SPOILERS: - { - char buf[1024]; - char tmp[1024]; - path_build(tmp, 1024, ANGBAND_DIR_XTRA_HELP, "spoilers.hlp"); - if (check_file(tmp)) - { - sprintf(buf, "winhelp.exe %s", tmp); - WinExec(buf, SW_NORMAL); - } - else - { - plog_fmt("Cannot find help file: %s", tmp); - plog("Use the online help files instead."); - } - break; - } - } } |