early_init() was being called twice on Windows GUI

This commit is contained in:
nhmall
2024-11-13 13:57:18 -05:00
parent fa9210aa65
commit 52a9af7278
2 changed files with 4 additions and 2 deletions

View File

@@ -131,7 +131,7 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine,
windowprocs.win_wait_synch = mswin_wait_synch;
win10_init();
/* early_init(0, NULL); */ /* Change as needed to support CRASHREPORT */
early_init(0, NULL); /* Change as needed to support CRASHREPORT */
/* init application structure */
_nethack_app.hApp = hInstance;