mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Fix a data abort in codebuster.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26203 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
20e9d56ba5
commit
9df2f2fdc1
1 changed files with 2 additions and 1 deletions
|
@ -130,7 +130,8 @@ struct mm_line guesses[MAX_GUESSES_COUNT];
|
|||
|
||||
/* Alias for pluginlib_getaction */
|
||||
static inline int get_button(void) {
|
||||
return pluginlib_getaction(TIMEOUT_BLOCK, plugin_contexts, 2);
|
||||
return pluginlib_getaction(TIMEOUT_BLOCK, plugin_contexts,
|
||||
ARRAYLEN(plugin_contexts));
|
||||
}
|
||||
|
||||
/* Computes the margin to center an element */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue