summaryrefslogtreecommitdiffstats
path: root/apps/menus/playlist_menu.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-03-18 07:03:43 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-03-18 07:03:43 +0000
commite54d8e1388fff7825fdd3ae40a04b1338b03ca81 (patch)
treee18b92ba8c2ab3489578aa12c4fa02ee21f372e1 /apps/menus/playlist_menu.c
parentb5e587c0811e670efaf19cd81c32e0035a276fdb (diff)
downloadrockbox-e54d8e1388fff7825fdd3ae40a04b1338b03ca81.tar.gz
rockbox-e54d8e1388fff7825fdd3ae40a04b1338b03ca81.zip
Remove the exit_value variable.. set the MENU_FUNC_CHECK_RETVAL fla and
return 1 if you want your funciton to quit the menus. save settings after clearing the background so it persists git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12827 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menus/playlist_menu.c')
-rw-r--r--apps/menus/playlist_menu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/menus/playlist_menu.c b/apps/menus/playlist_menu.c
index b73341c1d9..4f4b7c9839 100644
--- a/apps/menus/playlist_menu.c
+++ b/apps/menus/playlist_menu.c
@@ -63,15 +63,15 @@ int save_playlist_screen(struct playlist_info* playlist)
return 0;
}
MENUITEM_FUNCTION(create_playlist_item, 0, ID2P(LANG_CREATE_PLAYLIST),
- (int(*)(void))create_playlist, NULL, 0, NULL, Icon_NOICON);
+ (int(*)(void))create_playlist, NULL, NULL, Icon_NOICON);
MENUITEM_FUNCTION(view_playlist, 0, ID2P(LANG_VIEW_DYNAMIC_PLAYLIST),
- (int(*)(void))playlist_viewer, NULL, 0, NULL, Icon_NOICON);
+ (int(*)(void))playlist_viewer, NULL, NULL, Icon_NOICON);
MENUITEM_FUNCTION(save_playlist, MENU_FUNC_USEPARAM, ID2P(LANG_SAVE_DYNAMIC_PLAYLIST),
(int(*)(void*))save_playlist_screen,
- NULL, 0, NULL, Icon_NOICON);
+ NULL, NULL, Icon_NOICON);
MENUITEM_FUNCTION(catalog, 0, ID2P(LANG_CATALOG),
(int(*)(void))catalog_view_playlists,
- NULL, 0, NULL, Icon_NOICON);
+ NULL, NULL, Icon_NOICON);
MENUITEM_SETTING(recursive_dir_insert, &global_settings.recursive_dir_insert, NULL);
MENUITEM_SETTING(warn_on_erase, &global_settings.warnon_erase_dynplaylist, NULL);