iphone: dont ask for quit, just quit

This commit is contained in:
Albert Zeyer
2009-11-16 14:37:19 +01:00
parent 328dc19f1d
commit 7e252b5586

View File

@@ -900,6 +900,12 @@ int dlgX,dlgY,dlgW,dlgH;
int VerifyQuit()
{
#if defined(TARGET_OS_IPHONE) || defined(TARGET_IPHONE_SIMULATOR)
// On iPhone, we just want to quit immediatly.
QuitState = QUIT_TO_TITLE;
return QuitState;
#endif
int dlgX,dlgY,dlgW,dlgH;
std::string text;