mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 10:40:39 +00:00
(OSK) Cleanup conditionals in menu_common.c
This commit is contained in:
parent
6828183b64
commit
c062f36059
@ -994,14 +994,14 @@ static int menu_iterate_func(void *data, unsigned action)
|
||||
|
||||
#ifdef HAVE_OSK
|
||||
// process pending osk init callback
|
||||
if (g_extern.osk.cb_init != NULL)
|
||||
if (g_extern.osk.cb_init)
|
||||
{
|
||||
if (g_extern.osk.cb_init(driver.osk_data))
|
||||
g_extern.osk.cb_init = NULL;
|
||||
}
|
||||
|
||||
// process pending osk callback
|
||||
if (g_extern.osk.cb_callback != NULL)
|
||||
if (g_extern.osk.cb_callback)
|
||||
{
|
||||
if (g_extern.osk.cb_callback(driver.osk_data))
|
||||
g_extern.osk.cb_callback = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user