Flush logfile when writing hunk log
This commit is contained in:
1 parent
0ebf1df742
commit
f4ec9be44d
1 file changed
+2
@@ -1485,6 +1485,7 @@ void Hunk_Log( void) {
|
||||
FS_Write(buf, strlen(buf), logfile);
|
||||
Com_sprintf(buf, sizeof(buf), "%d hunk blocks\r\n", numBlocks);
|
||||
FS_Write(buf, strlen(buf), logfile);
|
||||
FS_Flush(logfile);
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -1535,6 +1536,7 @@ void Hunk_SmallLog( void) {
|
||||
FS_Write(buf, strlen(buf), logfile);
|
||||
Com_sprintf(buf, sizeof(buf), "%d hunk blocks\r\n", numBlocks);
|
||||
FS_Write(buf, strlen(buf), logfile);
|
||||
FS_Flush(logfile);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user