sdl/i_main.c: fix wrong placement of #endif for LOGMESSAGES code
This commit is contained in:
parent
8092d30376
commit
bb1a2dbba7
|
@ -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)
|
||||||
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();
|
||||||
|
|
Loading…
Reference in a new issue