diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-10-21 06:42:52 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-10-21 06:42:52 +0000 |
| commit | 616971c71eaee14cc9e16fe105d34c202babbf7c (patch) | |
| tree | 2b0497996057dedbeeac5a5ec7ac717087ed3f5b /apps/gui | |
| parent | 5eac0108f973bc5a132807775f9815b789e0c787 (diff) | |
| download | rockbox-616971c71eaee14cc9e16fe105d34c202babbf7c.zip rockbox-616971c71eaee14cc9e16fe105d34c202babbf7c.tar.gz rockbox-616971c71eaee14cc9e16fe105d34c202babbf7c.tar.bz2 rockbox-616971c71eaee14cc9e16fe105d34c202babbf7c.tar.xz | |
remove the seelection_size param from the info init call to hopefully decrease the bin size a bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15237 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui')
| -rw-r--r-- | apps/gui/list.c | 4 | ||||
| -rw-r--r-- | apps/gui/list.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c index cc66e25..6727f9b 100644 --- a/apps/gui/list.c +++ b/apps/gui/list.c @@ -1209,11 +1209,11 @@ bool simplelist_show_list(struct simplelist_info *info) } void simplelist_info_init(struct simplelist_info *info, char* title, - int selection_size, int count, void* data) + int count, void* data) { info->title = title; info->count = count; - info->selection_size = selection_size; + info->selection_size = 1; info->hide_selection = false; info->scroll_all = false; info->action_callback = NULL; diff --git a/apps/gui/list.h b/apps/gui/list.h index 7b9ef94..e6a80f4 100644 --- a/apps/gui/list.h +++ b/apps/gui/list.h @@ -296,6 +296,7 @@ void simplelist_addline(int line_number, const char *fmt, ...); /* setup the info struct. members not setup in this function need to be assigned manually members set in this function: + info.selection_size = 1; info.hide_selection = false; info.scroll_all = false; info.action_callback = NULL; @@ -304,7 +305,7 @@ void simplelist_addline(int line_number, const char *fmt, ...); info.get_voice = NULL; */ void simplelist_info_init(struct simplelist_info *info, char* title, - int selection_size, int count, void* data); + int count, void* data); /* show a list. if list->action_callback != NULL it is called with the action ACTION_REDRAW |