example: fix Win32 error-reporting code-path
This commit is contained in:
parent
197f80010c
commit
a70f77ad0c
@ -67,7 +67,7 @@ void die(const char *fmt, ...)
|
||||
#ifdef _CONSOLE
|
||||
fprintf(stderr, "*** error: %s\n", temp);
|
||||
#else
|
||||
MessageBox(NULL, temp, mainWindowTitle, MB_OK | MB_ICONERROR);
|
||||
MessageBox(NULL, temp, NULL, MB_OK | MB_ICONERROR);
|
||||
#endif
|
||||
|
||||
exit(EXIT_FAILURE);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user