incorrect parameter can now return an error message

This commit is contained in:
Markus Gans 2016-08-28 22:52:55 +02:00
parent 44cb96e732
commit be96aea0d8
1 changed files with 2 additions and 1 deletions

View File

@ -110,6 +110,7 @@ void FApplication::setExitMessage (std::string message)
quit_now = true;
snprintf ( FTerm::exit_message
, sizeof(FTerm::exit_message)
, "%s"
,message.c_str() );
}