incorrect parameter can now return an error message
This commit is contained in:
parent
44cb96e732
commit
be96aea0d8
|
@ -110,7 +110,8 @@ void FApplication::setExitMessage (std::string message)
|
||||||
quit_now = true;
|
quit_now = true;
|
||||||
snprintf ( FTerm::exit_message
|
snprintf ( FTerm::exit_message
|
||||||
, sizeof(FTerm::exit_message)
|
, sizeof(FTerm::exit_message)
|
||||||
, message.c_str() );
|
, "%s"
|
||||||
|
,message.c_str() );
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue