mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 12:41:21 +00:00
Win32 Sys_Quit(): Don't use printf() after fclose(stdout)
causes an assertion in MSVC's CRT
This commit is contained in:
parent
4a02c790e9
commit
d0507ef04a
1 changed files with 2 additions and 2 deletions
|
@ -97,14 +97,14 @@ Sys_Quit(void)
|
|||
FreeConsole();
|
||||
}
|
||||
|
||||
printf( "------------------------------------\n" );
|
||||
|
||||
/* Close stdout and stderr */
|
||||
#ifndef DEDICATED_ONLY
|
||||
fclose(stdout);
|
||||
fclose(stderr);
|
||||
#endif
|
||||
|
||||
printf("------------------------------------\n");
|
||||
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue