From b85817a5ba0ffe3bab748d1623799d407bd36731 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 20 May 2007 08:26:27 +0000 Subject: Update some comments in menu.h to be hopefully more helpful. Fix all the wrong usage of rb->do_menu() (my fault, sorry) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13439 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/chessbox/chessbox.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps/plugins/chessbox') diff --git a/apps/plugins/chessbox/chessbox.c b/apps/plugins/chessbox/chessbox.c index f2ae95b4f2..9f9e1099af 100644 --- a/apps/plugins/chessbox/chessbox.c +++ b/apps/plugins/chessbox/chessbox.c @@ -528,8 +528,7 @@ static int cb_menu(void) while(!menu_quit) { - selection = rb->do_menu(&menu, &selection); - switch(selection) + switch(rb->do_menu(&menu, &selection)) { case 0: menu_quit = true; -- cgit v1.2.3