From 8603d32c7977406ae3e2a270adbe2d1c016e5bff Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Sat, 13 Apr 2024 21:55:34 +0200 Subject: [PATCH] F7 uses the normal exit path --- src/gui.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gui.c b/src/gui.c index b4b2548..9e50843 100644 --- a/src/gui.c +++ b/src/gui.c @@ -447,8 +447,7 @@ bool gui_refresh() press_ALPHA(); break; case SDL_SCANCODE_F7: - gui_exit(); - exit( 0 ); + please_exit = true; break; default: break;