fix backlog_cnt error

This commit is contained in:
Glenn Maynard
2002-09-03 05:52:08 +00:00
parent 1e6ff21cef
commit 1f2e6f7338
+1 -1
View File
@@ -1483,9 +1483,9 @@ void CrashLog(const char *str)
backlog[backlog_start] [ sizeof(backlog[backlog_start])-1 ] = 0;
backlog_start++;
backlog_start %= BACKLOG_LINES;
if(backlog_start > backlog_cnt)
backlog_cnt=backlog_start;
backlog_start %= BACKLOG_LINES;
}
static void ReportCrashLog(HWND hwnd, HANDLE hFile)