From 094207921fb06e1bb66530ee2ae8782464002a0a Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 16 Jan 2015 17:53:13 +0100 Subject: [PATCH] (Win32 UI) Add fallback cases to default: --- gfx/drivers_context/win32_common.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gfx/drivers_context/win32_common.c b/gfx/drivers_context/win32_common.c index cc6a17b6fb..34bf9a0f52 100644 --- a/gfx/drivers_context/win32_common.c +++ b/gfx/drivers_context/win32_common.c @@ -135,8 +135,7 @@ LRESULT win32_menu_loop(HWND owner, WPARAM wparam) case ID_M_QUIT: do_wm_close = true; break; - } - + default: if (mode >= ID_M_WINDOW_SCALE_1X && mode <= ID_M_WINDOW_SCALE_10X) { unsigned idx = (mode - (ID_M_WINDOW_SCALE_1X-1)); @@ -153,6 +152,8 @@ LRESULT win32_menu_loop(HWND owner, WPARAM wparam) signed idx = (mode - (ID_M_STATE_INDEX_AUTO+1)); g_settings.state_slot = idx; } + break; + } if (cmd != RARCH_CMD_NONE) rarch_main_command(cmd);