(menu_settings.c) Fix typo - HAVE_LOCATION ifdef
This commit is contained in:
parent
3da5205efa
commit
d46304a80c
|
@ -1872,7 +1872,7 @@ int menu_set_settings(void *data, unsigned setting, unsigned action)
|
|||
#ifdef HAVE_LOCATION
|
||||
case RGUI_SETTINGS_PRIVACY_LOCATION_ALLOW:
|
||||
if (action == RGUI_ACTION_OK || action == RGUI_ACTION_LEFT || action == RGUI_ACTION_RIGHT)
|
||||
g_setttings.location.allow = !g_settings.location.allow;
|
||||
g_settings.location.allow = !g_settings.location.allow;
|
||||
else if (action == RGUI_ACTION_START)
|
||||
g_settings.location.allow = false;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue