aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
Diffstat (limited to 'sky')
-rw-r--r--sky/control.cpp3
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