From 151c78a4bdcd1c1bf4f0234f446749345bc26a4b Mon Sep 17 00:00:00 2001 From: tomaz Date: Sat, 21 Aug 2004 16:42:10 +0000 Subject: [PATCH] Close logfile at shutdown. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4347 d7cf8633-e32d-0410-b094-e92efae38249 --- console.h | 1 + host.c | 1 + 2 files changed, 2 insertions(+) diff --git a/console.h b/console.h index 9f415182..19dc08ce 100644 --- a/console.h +++ b/console.h @@ -58,6 +58,7 @@ void Con_DisplayList(const char **list); // log // void Log_Init (void); +void Log_Close (void); void Log_Start (void); // Log_Print and Log_Printf can be used as soon as the FS initialization is done void Log_Print(const char *logfilename, const char *msg); diff --git a/host.c b/host.c index 513afcc8..412f75e9 100644 --- a/host.c +++ b/host.c @@ -949,5 +949,6 @@ void Host_Shutdown(void) } Sys_Shutdown(); + Log_Close (); } -- 2.39.2