fix self-recover prompting on windows

the prompting on Windows wasn't working correctly if a prior game had crashed
and the self-recover feature was trying to kick in. This impacts tty, curses,
and mswin (GUI).
This commit is contained in:
nhmall
2019-12-03 23:32:12 -05:00
parent 8a7ec78d17
commit 5c57804a97
6 changed files with 216 additions and 64 deletions

View File

@@ -1823,15 +1823,17 @@ E char *FDECL(dowhatdoes_core, (CHAR_P, char *));
E int NDECL(dohelp);
E int NDECL(dohistory);
/* ### pcmain.c ### */
/* ### xxmain.c ### */
#if defined(MICRO) || defined(WIN32)
#ifdef CHDIR
E void FDECL(chdirx, (char *, BOOLEAN_P));
#endif /* CHDIR */
E boolean NDECL(authorize_wizard_mode);
#endif /* MICRO || WIN32 */
#if defined(WIN32)
E int NDECL(getlock);
#endif
/* ### pcsys.c ### */
@@ -1869,10 +1871,10 @@ E void FDECL(msleep, (unsigned));
#if defined(MICRO)
E void FDECL(regularize, (char *));
#endif /* MICRO */
#if defined(PC_LOCKING)
E void NDECL(getlock);
#endif
#endif /* MICRO */
/* ### pickup.c ### */