X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flibgame%2Fmisc.c;h=193b15e2a90a95b31da0b0ce531069fc7ca5e00f;hb=343b2db5fe00cb25a25cad3490fe17866d4415db;hp=7b9beacc51ff555ce81431a5da94817037b331bd;hpb=6948b28f2469407be9f8439c7d7f74a40038636f;p=rocksndiamonds.git 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; }