(svn r1628) -Fix: [1107893] script command; log file pointer was not reset to NULL after logging was closed

This commit is contained in:
darkvater 2005-01-23 21:42:29 +00:00
parent 94dc25b45f
commit dd6a6fa7ec
1 changed files with 1 additions and 0 deletions

View File

@ -284,6 +284,7 @@ bool CloseConsoleLogIfActive(void)
if (_iconsole_output_file != NULL) {
IConsolePrintF(_iconsole_color_default, "file output complete");
fclose(_iconsole_output_file);
_iconsole_output_file = NULL;
return true;
}