incorrect parameter can now return an error message
This commit is contained in:
parent
44cb96e732
commit
be96aea0d8
|
@ -110,6 +110,7 @@ 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)
|
||||||
|
, "%s"
|
||||||
,message.c_str() );
|
,message.c_str() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue