more startup tweaking for Windows

This commit is contained in:
nhmall
2018-12-08 21:17:34 -05:00
parent 547f0a32cc
commit 01625455d9
3 changed files with 28 additions and 18 deletions

View File

@@ -495,12 +495,12 @@ void nhassert_failed(const char * exp, const char * file, int line)
error(message);
}
/* nethack_enter_winnt() is the first thing called from main */
/* nethack_enter_winnt() is called from main immediately after
initializing the window port */
void nethack_enter_winnt()
{
#ifdef TTY_GRAPHICS
nethack_enter_nttty();
#endif
if (WINDOWPORT("tty"))
nethack_enter_nttty();
}
/* CP437 to Unicode mapping according to the Unicode Consortium */