forked from e16/e16
1
0
Fork 0

dialogs: Enable using DialogOK() early

This commit is contained in:
Kim Woelders 2023-09-22 20:49:26 +02:00
parent 711e66fb86
commit 2aa0f9fef4
1 changed files with 4 additions and 1 deletions

View File

@ -1801,7 +1801,10 @@ DialogOK(const char *title, const char *fmt, ...)
Evsnprintf(text, sizeof(text), fmt, args);
va_end(args);
DialogOKstr(title, text);
if (Mode.wm.startup)
Eprintf("%s: %s\n", title, text);
else
DialogOKstr(title, text);
}
void