diff options
Diffstat (limited to 'src/utils.c')
| -rw-r--r-- | src/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c index c21d2318..2df0a939 100644 --- a/src/utils.c +++ b/src/utils.c @@ -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 } |
