From af423ce6addfbff55573b01cc8ba32f604deebdb Mon Sep 17 00:00:00 2001 From: entropy Date: Mon, 20 Feb 2012 20:50:15 +0000 Subject: [PATCH] Bug fix: index for EXIT_TO_DISABLE changed, correct hard-coded value --- source/menu/menu_config4.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/menu/menu_config4.cpp b/source/menu/menu_config4.cpp index 1ee04eea..70c07d24 100644 --- a/source/menu/menu_config4.cpp +++ b/source/menu/menu_config4.cpp @@ -147,7 +147,7 @@ int CMenu::_config4(void) int exit_to = (int)loopNum((u32)m_cfg.getInt("GENERAL", "exit_to", 0) + 1, ARRAY_SIZE(CMenu::_exitTo)); m_cfg.setInt("GENERAL", "exit_to", exit_to); Sys_ExitTo(exit_to); - m_disable_exit = exit_to == 3; + m_disable_exit = exit_to == EXIT_TO_DISABLE; _showConfig4(); } else if (m_btnMgr.selected(m_config4BtnSaveFavMode))