diff options
author | darkvater <darkvater@openttd.org> | 2005-01-23 21:42:29 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2005-01-23 21:42:29 +0000 |
commit | dd6a6fa7ecd3f7f7389ea4ac86cbb03875d16caa (patch) | |
tree | 6d196c45d4faea6a4d8c390e6a15db646edc579a | |
parent | 94dc25b45f37fa403d367a64d36833b4cf70c625 (diff) | |
download | openttd-dd6a6fa7ecd3f7f7389ea4ac86cbb03875d16caa.tar.xz |
(svn r1628) -Fix: [1107893] script command; log file pointer was not reset to NULL after logging was closed
-rw-r--r-- | console.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |