diff options
author | Jonathan Gray | 2005-04-01 07:30:25 +0000 |
---|---|---|
committer | Jonathan Gray | 2005-04-01 07:30:25 +0000 |
commit | 2d26bfcb4735255d67ff6ed595345adef2772faf (patch) | |
tree | 4a71bd61ae5cac631e0e7858f199f693c800d7b5 /sky/control.cpp | |
parent | cdd21c361b1c194a6c0b7f6ef480463d02fcc87c (diff) | |
download | scummvm-rg350-2d26bfcb4735255d67ff6ed595345adef2772faf.tar.gz scummvm-rg350-2d26bfcb4735255d67ff6ed595345adef2772faf.tar.bz2 scummvm-rg350-2d26bfcb4735255d67ff6ed595345adef2772faf.zip |
Display text in Restart Yes/No Dialog for consistency with
Quit dialog. Pointed out in part of FR #1145781.
svn-id: r17320
Diffstat (limited to 'sky/control.cpp')
-rw-r--r-- | sky/control.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sky/control.cpp b/sky/control.cpp index 3a9cb09ff2..22f1840249 100644 --- a/sky/control.cpp +++ b/sky/control.cpp @@ -512,6 +512,7 @@ void Control::doControlPanel(void) { uint16 Control::handleClick(ConResource *pButton) { char quitDos[] = "Quit to DOS?"; + char restart[] = "Restart?"; switch(pButton->_onClick) { case DO_NOTHING: @@ -570,7 +571,7 @@ uint16 Control::handleClick(ConResource *pButton) { return QUIT_PANEL; case RESTART: animClick(pButton); - if (getYesNo(NULL)) { + if (getYesNo(restart)) { restartGame(); return GAME_RESTORED; } else |