REVIEWED: exit() on LOG_FATAL instead of LOG_ERROR #1796

This commit is contained in:
Ray 2021-05-30 18:02:06 +02:00
parent a178a2170b
commit 71995d52b3
5 changed files with 53 additions and 43 deletions

View file

@ -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
}