REVIEWED: exit() on LOG_FATAL instead of LOG_ERROR #1796
This commit is contained in:
parent
a178a2170b
commit
71995d52b3
5 changed files with 53 additions and 43 deletions
|
@ -155,7 +155,7 @@ void TraceLog(int logType, const char *text, ...)
|
|||
|
||||
va_end(args);
|
||||
|
||||
if (logType == LOG_ERROR) exit(1); // If error, exit program
|
||||
if (logType == LOG_FATAL) exit(EXIT_FAILURE); // If fatal logging, exit program
|
||||
|
||||
#endif // SUPPORT_TRACELOG
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue