little fix
This commit is contained in:
parent
da93b0a078
commit
779d4e02a4
@ -1356,7 +1356,8 @@ static void PrintToLog(const char* format, ...)
|
|||||||
|
|
||||||
printf("%s", tmp);
|
printf("%s", tmp);
|
||||||
#if SCRIPT_LOG_FILE_LEVEL == 1 || SCRIPT_LOG_FILE_LEVEL == 2
|
#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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user