fix windows bugs H4030 and H4045 (123 and 138)
Changes to be committed: modified: sys/share/pcmain.c modified: sys/winnt/nttty.c modified: sys/winnt/stubs.c Bug 123 Report 4030: Minor thing I've noticed - if I quit the game, at the "Hit <Enter> to end." prompt, if I close the window rather than pressing Enter, I get the following: Bug 138 - #H4045: "nethack -s" leads to "-s is not supported for the Graphical Interface". That's wrong. (The Graphical Interface comes with "nethackw".)
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
int GUILaunched;
|
||||
struct window_procs mswin_procs = { "guistubs" };
|
||||
|
||||
void
|
||||
mswin_destroy_reg()
|
||||
{
|
||||
@@ -36,6 +37,7 @@ char *argv[];
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* GUISTUB */
|
||||
|
||||
/* =============================================== */
|
||||
@@ -43,7 +45,10 @@ char *argv[];
|
||||
#ifdef TTYSTUB
|
||||
|
||||
#include "hack.h"
|
||||
#include "win32api.h"
|
||||
|
||||
HANDLE hConIn;
|
||||
HANDLE hConOut;
|
||||
int GUILaunched;
|
||||
struct window_procs tty_procs = { "ttystubs" };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user