From cf1cef5f573ca6961041c9ab53649ac52f6b1e93 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Mon, 17 Sep 2007 10:08:50 +0000 Subject: minor update to gui_synclist_do_button() which will hopefully simplify things later. Now returns true if the action was handled in that function instead of returning the handled action. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14733 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/chessbox/chessbox_pgn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins/chessbox') diff --git a/apps/plugins/chessbox/chessbox_pgn.c b/apps/plugins/chessbox/chessbox_pgn.c index fb04f6a..3780e32 100644 --- a/apps/plugins/chessbox/chessbox_pgn.c +++ b/apps/plugins/chessbox/chessbox_pgn.c @@ -808,7 +808,7 @@ struct pgn_game_node* pgn_show_game_list(struct plugin_api* api, rb->gui_synclist_draw(&games_list); curr_selection = rb->gui_synclist_get_sel_pos(&games_list); button = rb->get_action(CONTEXT_LIST,TIMEOUT_BLOCK); - if (rb->gui_synclist_do_button(&games_list,button,LIST_WRAP_OFF)){ + if (rb->gui_synclist_do_button(&games_list,&button,LIST_WRAP_OFF)){ continue; } switch (button) { -- cgit v1.1