From dd6a6fa7ecd3f7f7389ea4ac86cbb03875d16caa Mon Sep 17 00:00:00 2001 From: darkvater Date: Sun, 23 Jan 2005 21:42:29 +0000 Subject: [PATCH] (svn r1628) -Fix: [1107893] script command; log file pointer was not reset to NULL after logging was closed --- console.c | 1 + 1 file changed, 1 insertion(+) diff --git a/console.c b/console.c index 84bb97bcdb..e82cf23c06 100644 --- a/console.c +++ b/console.c @@ -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; }