diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/codebuster.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/codebuster.c b/apps/plugins/codebuster.c index 0fd1234b29..810bd0c570 100644 --- a/apps/plugins/codebuster.c +++ b/apps/plugins/codebuster.c | |||
@@ -130,7 +130,8 @@ struct mm_line guesses[MAX_GUESSES_COUNT]; | |||
130 | 130 | ||
131 | /* Alias for pluginlib_getaction */ | 131 | /* Alias for pluginlib_getaction */ |
132 | static inline int get_button(void) { | 132 | static inline int get_button(void) { |
133 | return pluginlib_getaction(TIMEOUT_BLOCK, plugin_contexts, 2); | 133 | return pluginlib_getaction(TIMEOUT_BLOCK, plugin_contexts, |
134 | ARRAYLEN(plugin_contexts)); | ||
134 | } | 135 | } |
135 | 136 | ||
136 | /* Computes the margin to center an element */ | 137 | /* Computes the margin to center an element */ |