input_keyboard_line_toggle_osk - early return if OSK is not

enabled
This commit is contained in:
twinaphex 2015-01-29 23:35:06 +01:00
parent 10fd97c5d0
commit bae3650d44

View File

@ -39,6 +39,9 @@ struct input_keyboard_line
static void input_keyboard_line_toggle_osk(bool enable)
{
if (!g_settings.osk.enable)
return;
rarch_main_command(RARCH_CMD_OVERLAY_DEINIT);
driver.osk_active = enable;
rarch_main_command(RARCH_CMD_OVERLAY_INIT);