From ae75ea8858c0bc3766fe9b4fc1dae91665cb2356 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Thu, 13 Jan 2005 10:48:44 +0000 Subject: Patch #1016041 by Eric Lassauge git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5561 a1c6a512-1295-4272-9138-f99709370657 --- apps/menu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/menu.c b/apps/menu.c index bdf255cc39..a7f34a8fca 100644 --- a/apps/menu.c +++ b/apps/menu.c @@ -393,7 +393,8 @@ bool menu_run(int m) return true; default: - if (menus[m].items[menus[m].cursor].function()) + if ((menus[m].items[menus[m].cursor].function) && + (menus[m].items[menus[m].cursor].function())) return true; } } -- cgit v1.2.3