Make "Exit" the default button for fatal errors

This commit is contained in:
RichardG867
2020-06-18 21:11:32 -03:00
parent 6eb7314c5b
commit 62724cda1f
2 changed files with 10 additions and 2 deletions

View File

@@ -283,7 +283,7 @@ fatal(const char *fmt, ...)
to avoid things like threads getting stuck. */
do_stop();
ui_msgbox_ex(MBX_ERROR | MBX_FATAL | MBX_ANSI, NULL, temp, (wchar_t *) IDS_2119, NULL, NULL);
ui_msgbox(MBX_ERROR | MBX_FATAL | MBX_ANSI, temp);
fflush(stdlog);