mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Exit with fatal error on duplicated instruction code
Instead of causing SIGABRT which is more confusing.
This commit is contained in:
parent
daada262d7
commit
89bb04e8fd
4 changed files with 19 additions and 19 deletions
|
@ -468,7 +468,7 @@ int wrapApplication(int (*innerApplication)(int argc, char* argv[]), int argc, c
|
|||
#endif
|
||||
SDL_ShowSimpleMessageBox(0, (std::string(appName) + ": Fatal error").c_str(), e.what(), nullptr);
|
||||
|
||||
Log(Debug::Error) << "Error: " << e.what();
|
||||
Log(Debug::Error) << "Fatal error: " << e.what();
|
||||
|
||||
ret = 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue