summaryrefslogtreecommitdiff
path: root/src/main-win.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-13 13:54:38 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-13 13:54:38 +0100
commit1c622b5d3f659c1faa3d6eebd4d26ea6481f4df5 (patch)
treebb36a4f35255206372f638cde8e59620f7a4948b /src/main-win.c
parentc14efb95172fbd18a43f2f5b5714454a9ccb321e (diff)
Windows: Remove useless "Help" menu items
The corresponding files don't exist, so they're pretty useless.
Diffstat (limited to 'src/main-win.c')
-rw-r--r--src/main-win.c39
1 files changed, 0 insertions, 39 deletions
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;
- }
- }
}