This commit is contained in:
tildearrow 2022-05-29 00:04:33 -05:00
parent 6afe29682d
commit 7baf1d471f
2 changed files with 33 additions and 5 deletions

View file

@ -306,11 +306,13 @@ int main(int argc, char** argv) {
}
}
if (!sh.loaded()) {
#ifdef _WIN32
MessageBox(NULL,"Warning","crash backtrace not available!",MB_OK|MB_ICONWARNING);
#endif
if (!sh.loaded()) {
MessageBox(NULL,"crash backtrace not available!","Warning",MB_OK|MB_ICONWARNING);
} else {
MessageBox(NULL,"it will work","Notice",MB_OK|MB_ICONINFORMATION);
}
#endif
e.setConsoleMode(consoleMode);