From: Holger Schemel Date: Thu, 17 Sep 2020 18:30:14 +0000 (+0200) Subject: changed check for limiting debug output to substring match X-Git-Tag: 4.2.0.3~26 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=343b2db5fe00cb25a25cad3490fe17866d4415db;p=rocksndiamonds.git changed check for limiting debug output to substring match --- diff --git a/src/libgame/misc.c b/src/libgame/misc.c index 7b9beacc..193b15e2 100644 --- a/src/libgame/misc.c +++ b/src/libgame/misc.c @@ -300,7 +300,7 @@ static void Log(int log_level, char *mode, char *format, va_list ap) // if optional debug mode specified, limit debug output accordingly if (options.debug_mode != NULL && - !strEqual(options.debug_mode, mode)) + strstr(mode, options.debug_mode) == NULL) return; }