From 7b8b0ff49192007d791038cda2d3f44f004ff169 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Thu, 16 Nov 2006 02:53:44 +0000 Subject: 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 --- apps/action.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/action.c') diff --git a/apps/action.c b/apps/action.c index 0f332a29f5..07d3cb25a2 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 ) -- cgit v1.2.3