diff options
author | Travis Howell | 2003-12-14 15:23:43 +0000 |
---|---|---|
committer | Travis Howell | 2003-12-14 15:23:43 +0000 |
commit | 7400910907609b412d74ed194569098c5f039948 (patch) | |
tree | 0167d28bf036c15e78cbc2fb303bbd3ace0f9cb5 /scumm | |
parent | 2556f9b77ad4b210e19c403e1270f9d3393e27ff (diff) | |
download | scummvm-rg350-7400910907609b412d74ed194569098c5f039948.tar.gz scummvm-rg350-7400910907609b412d74ed194569098c5f039948.tar.bz2 scummvm-rg350-7400910907609b412d74ed194569098c5f039948.zip |
Ooops
svn-id: r11636
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/dialogs.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/dialogs.cpp b/scumm/dialogs.cpp index 8ff15d9eb4..6e5cc20fe2 100644 --- a/scumm/dialogs.cpp +++ b/scumm/dialogs.cpp @@ -622,14 +622,14 @@ void ConfirmExitDialog::handleKeyDown(uint16 ascii, int keycode, int modifiers) } ConfirmRestartDialog::ConfirmRestartDialog(ScummEngine *scumm) - : InfoDialog(scumm, "Do you really want to quit (y/n)?") { + : InfoDialog(scumm, "Do you really want to restart (y/n)?") { } void ConfirmRestartDialog::handleKeyDown(uint16 ascii, int keycode, int modifiers) { - if (tolower(ascii) == 'n') { // Close exit dialog if n key is pressed + if (tolower(ascii) == 'n') { // Close restart dialog if n key is pressed setResult(0); close(); - } else if (tolower(ascii) == 'y') { // Quit if y key is pressed + } else if (tolower(ascii) == 'y') { // Restart if y key is pressed setResult(1); close(); } else |