Skip to content
Snippets Groups Projects
Commit bb1a2dbb authored by Monster Iestyn's avatar Monster Iestyn
Browse files

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

parent 8092d303
Branches
Tags
No related merge requests found
...@@ -191,7 +191,6 @@ int main(int argc, char **argv) ...@@ -191,7 +191,6 @@ int main(int argc, char **argv)
left = snprintf(logfilename, sizeof logfilename, left = snprintf(logfilename, sizeof logfilename,
"."PATHSEP"%s"PATHSEP, reldir); "."PATHSEP"%s"PATHSEP, reldir);
} }
#endif/*LOGMESSAGES*/
strftime(&logfilename[left], sizeof logfilename - left, strftime(&logfilename[left], sizeof logfilename - left,
format, timeinfo); format, timeinfo);
...@@ -218,6 +217,7 @@ int main(int argc, char **argv) ...@@ -218,6 +217,7 @@ int main(int argc, char **argv)
logstream = fopen("latest-log.txt", "wt+"); logstream = fopen("latest-log.txt", "wt+");
#endif/*defined (__unix__) || defined(__APPLE__) || defined (UNIXCOMMON)*/ #endif/*defined (__unix__) || defined(__APPLE__) || defined (UNIXCOMMON)*/
} }
#endif/*LOGMESSAGES*/
//I_OutputMsg("I_StartupSystem() ...\n"); //I_OutputMsg("I_StartupSystem() ...\n");
I_StartupSystem(); I_StartupSystem();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment