summaryrefslogtreecommitdiff
path: root/apps/action.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2006-11-16 02:53:44 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2006-11-16 02:53:44 +0000
commit7b8b0ff49192007d791038cda2d3f44f004ff169 (patch)
tree6515041a44eb261160763a53cbdefd71a125d794 /apps/action.c
parent407284818411f82419679d39686f5402596f3725 (diff)
downloadrockbox-7b8b0ff49192007d791038cda2d3f44f004ff169.zip
rockbox-7b8b0ff49192007d791038cda2d3f44f004ff169.tar.gz
rockbox-7b8b0ff49192007d791038cda2d3f44f004ff169.tar.bz2
rockbox-7b8b0ff49192007d791038cda2d3f44f004ff169.tar.xz
implement actions in the plugins, bubbles and metronome converted.
(hopefully buttons are correct, let me know in http://forums.rockbox.org/index.php?topic=5829.0 if there is a major stuff up) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11535 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/action.c')
-rw-r--r--apps/action.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/action.c b/apps/action.c
index 0f332a2..07d3cb2 100644
--- a/apps/action.c
+++ b/apps/action.c
@@ -161,7 +161,8 @@ int get_action_worker(int context, int timeout,
ret = do_button_check(items,button,last_button,&i);
- if (context ==(int)CONTEXT_STOPSEARCHING)
+ if ((context ==(int)CONTEXT_STOPSEARCHING) ||
+ items == NULL )
break;
if (ret == ACTION_UNKNOWN )