From 71995d52b36c86b09f064953fb3dd2d2fd60c704 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 30 May 2021 18:02:06 +0200 Subject: REVIEWED: exit() on LOG_FATAL instead of LOG_ERROR #1796 --- src/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils.c') 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 } -- cgit v1.2.3