diff options
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r-- | apps/settings_list.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c index 4771306393..ae98ae0187 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c | |||
@@ -700,7 +700,7 @@ static void hotkey_callback(int var) | |||
700 | { | 700 | { |
701 | if (get_current_activity() != ACTIVITY_QUICKSCREEN) | 701 | if (get_current_activity() != ACTIVITY_QUICKSCREEN) |
702 | { | 702 | { |
703 | if (get_hotkey_lang_id(var) == LANG_OPEN_PLUGIN) | 703 | if (get_hotkey(var)->action == HOTKEY_PLUGIN) |
704 | open_plugin_browse(ID2P(LANG_HOTKEY_WPS)); | 704 | open_plugin_browse(ID2P(LANG_HOTKEY_WPS)); |
705 | } | 705 | } |
706 | } | 706 | } |
@@ -710,12 +710,12 @@ static const char* hotkey_formatter(char* buffer, size_t buffer_size, int value, | |||
710 | (void)buffer; | 710 | (void)buffer; |
711 | (void)buffer_size; | 711 | (void)buffer_size; |
712 | (void)unit; | 712 | (void)unit; |
713 | return str(get_hotkey_lang_id(value)); | 713 | return str(get_hotkey(value)->lang_id); |
714 | } | 714 | } |
715 | static int32_t hotkey_getlang(int value, int unit) | 715 | static int32_t hotkey_getlang(int value, int unit) |
716 | { | 716 | { |
717 | (void)unit; | 717 | (void)unit; |
718 | return get_hotkey_lang_id(value); | 718 | return get_hotkey(value)->lang_id; |
719 | } | 719 | } |
720 | #endif /* HAVE_HOTKEY */ | 720 | #endif /* HAVE_HOTKEY */ |
721 | 721 | ||