This commit is contained in:
twinaphex 2015-10-03 22:09:59 +02:00
parent 864a93def9
commit 7ab628f655

View File

@ -283,10 +283,7 @@ bool menu_input_ctl(enum menu_input_ctl_state state, void *data)
}
return true;
case MENU_INPUT_CTL_UNSET_KEYBOARD_LABEL:
{
const char *ptr = (const char*)data;
menu_input->keyboard.label = NULL;
}
menu_input->keyboard.label = NULL;
return true;
case MENU_INPUT_CTL_KEYBOARD_LABEL_SETTING:
{
@ -301,10 +298,7 @@ bool menu_input_ctl(enum menu_input_ctl_state state, void *data)
}
return true;
case MENU_INPUT_CTL_UNSET_KEYBOARD_LABEL_SETTING:
{
const char *ptr = (const char*)data;
menu_input->keyboard.label_setting = NULL;
}
menu_input->keyboard.label_setting = NULL;
return true;
}