Skip to content
Browse files

- don't throw exceptions before the system isn't initialized

If the window cannot be opened this has no way to report the problem. In this case a message box is needed.
  • Loading branch information...
coelckers committed Sep 30, 2019
1 parent 42a54ef commit e7c388dccd863b37fbf8f25f639ebfaca76cc876
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/win32/i_main.cpp
@@ -939,7 +939,10 @@ void DoMain (HINSTANCE hInstance)

if (!Window)
I_FatalError ("Could not open window");
MessageBoc(nullptr, "Fatal", "Unable to create main window", MB_ICONEXCLAMATION|MB_OK);

if (kernel != NULL)

0 comments on commit e7c388d

Please sign in to comment.
You can’t perform that action at this time.