1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2024-12-22 17:35:29 +00:00

little fix

This commit is contained in:
Nikolay Korolev 2020-07-01 15:12:25 +03:00
parent da93b0a078
commit 779d4e02a4

View file

@ -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
}