summaryrefslogtreecommitdiff
path: root/main_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'main_gui.c')
-rw-r--r--main_gui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main_gui.c b/main_gui.c
index 503c3c68a..8be237ece 100644
--- a/main_gui.c
+++ b/main_gui.c
@@ -170,14 +170,14 @@ static void MenuClickSaveLoad(int index)
case 0: ShowSaveLoadDialog(SLD_SAVE_SCENARIO); break;
case 1: ShowSaveLoadDialog(SLD_LOAD_SCENARIO); break;
case 2: AskExitToGameMenu(); break;
- case 4: AskExitGame(); break;
+ case 4: HandleExitGameRequest(); break;
}
} else {
switch (index) {
case 0: ShowSaveLoadDialog(SLD_SAVE_GAME); break;
case 1: ShowSaveLoadDialog(SLD_LOAD_GAME); break;
case 2: AskExitToGameMenu(); break;
- case 3: AskExitGame(); break;
+ case 3: HandleExitGameRequest(); break;
}
}
}
@@ -2226,7 +2226,7 @@ static void MainWindowWndProc(Window *w, WindowEvent *e)
switch (e->keypress.keycode) {
case 'Q' | WKC_CTRL:
case 'Q' | WKC_META:
- AskExitGame();
+ HandleExitGameRequest();
break;
}