mirror of
https://github.com/halpz/re3.git
synced 2024-12-22 17:35:29 +00:00
little fix
This commit is contained in:
parent
da93b0a078
commit
779d4e02a4
|
@ -1356,7 +1356,8 @@ static void PrintToLog(const char* format, ...)
|
|||
|
||||
printf("%s", tmp);
|
||||
#if SCRIPT_LOG_FILE_LEVEL == 1 || SCRIPT_LOG_FILE_LEVEL == 2
|
||||
fwrite(tmp, 1, strlen(tmp), dbg_log);
|
||||
if (dbg_log)
|
||||
fwrite(tmp, 1, strlen(tmp), dbg_log);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue