diff --git a/src/sdl/i_system.c b/src/sdl/i_system.c index f6b2853ab..f93a3b3b4 100644 --- a/src/sdl/i_system.c +++ b/src/sdl/i_system.c @@ -297,7 +297,10 @@ static void I_ShowErrorMessageBox(const char *messagefordevelopers, boolean dump ".rpt crash dump" #endif " (very important!) and " : "", - logfilename, +#ifdef LOGMESSAGES + logfilename[0] ? logfilename : +#endif + "uh oh, one wasn't made!?", messagefordevelopers); // Rudementary word wrapping.