sdl/i_main.c: fix wrong placement of #endif for LOGMESSAGES code

This commit is contained in:
Monster Iestyn 2020-05-28 18:03:57 +01:00
parent 8092d30376
commit bb1a2dbba7
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,6 @@ int main(int argc, char **argv)
left = snprintf(logfilename, sizeof logfilename,
"."PATHSEP"%s"PATHSEP, reldir);
}
#endif/*LOGMESSAGES*/
strftime(&logfilename[left], sizeof logfilename - left,
format, timeinfo);
@ -218,6 +217,7 @@ int main(int argc, char **argv)
logstream = fopen("latest-log.txt", "wt+");
#endif/*defined (__unix__) || defined(__APPLE__) || defined (UNIXCOMMON)*/
}
#endif/*LOGMESSAGES*/
//I_OutputMsg("I_StartupSystem() ...\n");
I_StartupSystem();