diff options
Diffstat (limited to 'apps/action.c')
-rw-r--r-- | apps/action.c | 3 |
1 files changed, 2 insertions, 1 deletions
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, | |||
161 | 161 | ||
162 | ret = do_button_check(items,button,last_button,&i); | 162 | ret = do_button_check(items,button,last_button,&i); |
163 | 163 | ||
164 | if (context ==(int)CONTEXT_STOPSEARCHING) | 164 | if ((context ==(int)CONTEXT_STOPSEARCHING) || |
165 | items == NULL ) | ||
165 | break; | 166 | break; |
166 | 167 | ||
167 | if (ret == ACTION_UNKNOWN ) | 168 | if (ret == ACTION_UNKNOWN ) |