1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-13 09:39:10 +00:00

(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

@@ -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;
}