(Menu) Clean up code

This commit is contained in:
twinaphex 2014-09-01 21:00:48 +02:00
parent 75d21299c3
commit 236920a641
3 changed files with 0 additions and 15 deletions

View File

@ -559,11 +559,6 @@ static void rgui_render(void)
w = 5; w = 5;
} }
} }
else if (menu_type == MENU_SETTINGS_OPEN_HISTORY)
{
*type_str = '\0';
w = 0;
}
else if (type >= MENU_SETTINGS_CORE_OPTION_START) else if (type >= MENU_SETTINGS_CORE_OPTION_START)
strlcpy( strlcpy(
type_str, type_str,

View File

@ -404,11 +404,6 @@ static void rmenu_render(void)
w = 5; w = 5;
} }
} }
else if (menu_type == MENU_SETTINGS_OPEN_HISTORY)
{
*type_str = '\0';
w = 0;
}
else if (type >= MENU_SETTINGS_CORE_OPTION_START) else if (type >= MENU_SETTINGS_CORE_OPTION_START)
strlcpy(type_str, strlcpy(type_str,
core_option_get_val(g_extern.system.core_options, type - MENU_SETTINGS_CORE_OPTION_START), core_option_get_val(g_extern.system.core_options, type - MENU_SETTINGS_CORE_OPTION_START),

View File

@ -623,11 +623,6 @@ static void rmenu_xui_render(void)
w = 5; w = 5;
} }
} }
else if (menu_type == MENU_SETTINGS_OPEN_HISTORY)
{
*type_str = '\0';
w = 0;
}
else if (type >= MENU_SETTINGS_CORE_OPTION_START) else if (type >= MENU_SETTINGS_CORE_OPTION_START)
strlcpy(type_str, strlcpy(type_str,
core_option_get_val(g_extern.system.core_options, type - MENU_SETTINGS_CORE_OPTION_START), core_option_get_val(g_extern.system.core_options, type - MENU_SETTINGS_CORE_OPTION_START),