summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/frotz/frotz.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/frotz/frotz.c b/apps/plugins/frotz/frotz.c
index a12faf90aa..aff91002ef 100644
--- a/apps/plugins/frotz/frotz.c
+++ b/apps/plugins/frotz/frotz.c
@@ -122,8 +122,8 @@ void wait_for_key()
for (;;)
{
- action = pluginlib_getaction(TIMEOUT_BLOCK,
- plugin_contexts, 1);
+ action = pluginlib_getaction(TIMEOUT_BLOCK, plugin_contexts,
+ ARRAYLEN(plugin_contexts));
switch (action)
{
case PLA_EXIT:
@@ -171,7 +171,7 @@ zchar do_input(int timeout, bool show_cursor)
case PLA_SELECT:
return ZC_RETURN;
- case PLA_SELECT_REPEAT:
+ case PLA_DOWN:
return ZC_BAD;
default: