diff options
Diffstat (limited to 'apps/plugins/frotz/frotz.c')
-rw-r--r-- | apps/plugins/frotz/frotz.c | 6 |
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() | |||
122 | 122 | ||
123 | for (;;) | 123 | for (;;) |
124 | { | 124 | { |
125 | action = pluginlib_getaction(TIMEOUT_BLOCK, | 125 | action = pluginlib_getaction(TIMEOUT_BLOCK, plugin_contexts, |
126 | plugin_contexts, 1); | 126 | ARRAYLEN(plugin_contexts)); |
127 | switch (action) | 127 | switch (action) |
128 | { | 128 | { |
129 | case PLA_EXIT: | 129 | case PLA_EXIT: |
@@ -171,7 +171,7 @@ zchar do_input(int timeout, bool show_cursor) | |||
171 | case PLA_SELECT: | 171 | case PLA_SELECT: |
172 | return ZC_RETURN; | 172 | return ZC_RETURN; |
173 | 173 | ||
174 | case PLA_SELECT_REPEAT: | 174 | case PLA_DOWN: |
175 | return ZC_BAD; | 175 | return ZC_BAD; |
176 | 176 | ||
177 | default: | 177 | default: |