From 6a1161b634e43225ae12bf669ad3bbe1ea1edab0 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Mon, 6 Nov 2006 10:11:51 +0000 Subject: dont allow the volume setting to wrap git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11445 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/random_folder_advance_config.c | 2 +- apps/plugins/text_editor.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugins') diff --git a/apps/plugins/random_folder_advance_config.c b/apps/plugins/random_folder_advance_config.c index 7d055c4172..3b9f842873 100644 --- a/apps/plugins/random_folder_advance_config.c +++ b/apps/plugins/random_folder_advance_config.c @@ -184,7 +184,7 @@ void edit_list(void) { rb->gui_synclist_draw(&lists); button = rb->get_action(CONTEXT_LIST,TIMEOUT_BLOCK); - if (rb->gui_synclist_do_button(&lists,button)) + if (rb->gui_synclist_do_button(&lists,button,LIST_WRAP_UNLESS_HELD)) continue; selection = rb->gui_synclist_get_sel_pos(&lists); switch (button) diff --git a/apps/plugins/text_editor.c b/apps/plugins/text_editor.c index 9f5412810d..449a88aa0a 100644 --- a/apps/plugins/text_editor.c +++ b/apps/plugins/text_editor.c @@ -349,7 +349,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) rb->gui_synclist_draw(&lists); cur_sel = rb->gui_synclist_get_sel_pos(&lists); button = rb->get_action(CONTEXT_LIST,TIMEOUT_BLOCK); - if (rb->gui_synclist_do_button(&lists,button)) + if (rb->gui_synclist_do_button(&lists,button,LIST_WRAP_UNLESS_HELD)) continue; #ifdef HAVE_ADJUSTABLE_CPU_FREQ rb->cpu_boost(0); -- cgit v1.2.3