parent
587e461ea5
commit
2a44107d8e
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ void dbg_printf(const char* fmt, ...)
|
|||
|
||||
EnterCriticalSection(&cs);
|
||||
|
||||
if (g_log_file && ftell(g_log_file) >= 1024 * 1024 * 50) /* rotate every 50MB */
|
||||
if (g_log_file && ftell(g_log_file) >= 1024 * 1024 * 100) /* rotate every 100MB */
|
||||
{
|
||||
char filename[MAX_PATH] = { 0 };
|
||||
_snprintf(filename, sizeof(filename) - 1, "cnc-ddraw-%d.log", g_log_rotate ? 3 : 2);
|
||||
|
|
Loading…
Reference in a new issue