Changed: systemMessageBox on linux/macOS to non-blocking, log only

feature/pre-code-move
Nimetu 5 years ago
parent 0078df9593
commit 1337908369

@ -2681,8 +2681,11 @@ IDriver::TMessageBoxId CDriverGL::systemMessageBox (const char* message, const c
} }
nlstop; nlstop;
#else // NL_OS_WINDOWS #else // NL_OS_WINDOWS
// Call the console version! // TODO: if user did not launch from console, then program "freezes" without explanation or possibility to continue
IDriver::systemMessageBox (message, title, type, icon); //IDriver::systemMessageBox (message, title, type, icon);
// log only
printf("%s:%s\n", title, message);
nlwarning("%s: %s", title, message);
#endif // NL_OS_WINDOWS #endif // NL_OS_WINDOWS
return okId; return okId;
} }

Loading…
Cancel
Save