forked from speed-dreams/speed-dreams-code
Re #307 Smarter exiting process when GfFatal is used
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3533 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: bcdb1d565f56f96d6021b98842c322b0011f4ca2 Former-commit-id: b84aab362235c2bdc70b3cfec6d5524fb3fc8b76
This commit is contained in:
parent
8b90622cf5
commit
87c6b19504
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@
|
|||
#include "version.h"
|
||||
#endif
|
||||
|
||||
#include "tgf.h"
|
||||
#include "tgf.hpp"
|
||||
|
||||
|
||||
// Log levels.
|
||||
|
@ -195,7 +195,7 @@ void GfLogFatal(const char *pszFmt, ...)
|
|||
TEXT("Fatal error"), MB_OK|MB_ICONERROR|MB_SETFOREGROUND);
|
||||
#endif
|
||||
|
||||
exit(1);
|
||||
GfApp().exit(1);
|
||||
}
|
||||
|
||||
#ifdef TRACE_OUT
|
||||
|
|
Loading…
Reference in a new issue