diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-01-13 10:48:44 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-01-13 10:48:44 +0000 |
commit | ae75ea8858c0bc3766fe9b4fc1dae91665cb2356 (patch) | |
tree | 59fa06d76669f7dcc929f850db547a159149f039 | |
parent | 0978026ddafad4a2d021064c740985fb4d153cca (diff) |
Patch #1016041 by Eric Lassauge
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5561 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/menu.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } } |