summaryrefslogtreecommitdiff
path: root/apps/plugins/frotz/frotz.c
diff options
context:
space:
mode:
authorTorne Wuff <torne@wolfpuppy.org.uk>2010-05-20 18:45:50 +0000
committerTorne Wuff <torne@wolfpuppy.org.uk>2010-05-20 18:45:50 +0000
commit970b46045e9814bb5e37740b80c6cbaffa37e450 (patch)
treec022b7fa566d0c940c67a27c0781b5755885884e /apps/plugins/frotz/frotz.c
parent4c6b94551e5e8eef36f6919d3992dc9f331562c1 (diff)
Tweak new pluginlib button map for frotz to be more convenient
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26206 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/frotz/frotz.c')
-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: