diff options
author | William Wilgus <wilgus.william@gmail.com> | 2022-12-17 02:43:41 -0500 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2022-12-17 02:51:43 -0500 |
commit | ccf1aaa5bede11c95d219adbf6267426b57613d2 (patch) | |
tree | a2670a79c42b743d19631055385004706369b5d2 /apps/menus/settings_menu.c | |
parent | 6f54bb63fc1f0da06330806321fbba50b1364907 (diff) | |
download | rockbox-ccf1aaa5bede11c95d219adbf6267426b57613d2.tar.gz rockbox-ccf1aaa5bede11c95d219adbf6267426b57613d2.zip |
menus move functions with parameters to their own type
left the union with function(void) and function_w_param(param)
as a few areas might still need to use both (onplay.c)
there might be a few I missed yet..
Change-Id: I593a6875301923e19ba04ad1b0f3173dc9ebdf1f
Diffstat (limited to 'apps/menus/settings_menu.c')
-rw-r--r-- | apps/menus/settings_menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c index 460909318a..0b7e55d95b 100644 --- a/apps/menus/settings_menu.c +++ b/apps/menus/settings_menu.c | |||
@@ -784,7 +784,7 @@ MAKE_MENU(hotkey_menu, ID2P(LANG_HOTKEY), 0, Icon_NOICON, | |||
784 | 784 | ||
785 | static struct browse_folder_info langs = { LANG_DIR, SHOW_LNG }; | 785 | static struct browse_folder_info langs = { LANG_DIR, SHOW_LNG }; |
786 | 786 | ||
787 | MENUITEM_FUNCTION(browse_langs, MENU_FUNC_USEPARAM, ID2P(LANG_LANGUAGE), | 787 | MENUITEM_FUNCTION_W_PARAM(browse_langs, 0, ID2P(LANG_LANGUAGE), |
788 | browse_folder, (void*)&langs, NULL, Icon_Language); | 788 | browse_folder, (void*)&langs, NULL, Icon_Language); |
789 | 789 | ||
790 | MAKE_MENU(settings_menu_item, ID2P(LANG_GENERAL_SETTINGS), 0, | 790 | MAKE_MENU(settings_menu_item, ID2P(LANG_GENERAL_SETTINGS), 0, |