projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6948b28
)
changed check for limiting debug output to substring match
author
Holger Schemel
<info@artsoft.org>
Thu, 17 Sep 2020 18:30:14 +0000
(20:30 +0200)
committer
Holger Schemel
<info@artsoft.org>
Thu, 17 Sep 2020 18:30:14 +0000
(20:30 +0200)
src/libgame/misc.c
patch
|
blob
|
history
diff --git
a/src/libgame/misc.c
b/src/libgame/misc.c
index 7b9beacc51ff555ce81431a5da94817037b331bd..193b15e2a90a95b31da0b0ce531069fc7ca5e00f 100644
(file)
--- 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;
}