From 2d26bfcb4735255d67ff6ed595345adef2772faf Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Fri, 1 Apr 2005 07:30:25 +0000 Subject: Display text in Restart Yes/No Dialog for consistency with Quit dialog. Pointed out in part of FR #1145781. svn-id: r17320 --- sky/control.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3