diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2008-05-21 07:08:27 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2008-05-21 07:08:27 +0000 |
commit | 5f796087b009fee1ae60904b0355cc7febe3330f (patch) | |
tree | 3a3b11d51351aebea95004438420423cc3e594ef | |
parent | b4275d4941e464c851ae3f5fe33c80f56ea365e5 (diff) |
fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17592 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugins/credits.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/apps/plugins/credits.c b/apps/plugins/credits.c index 1b85a8378f..66ec714b5b 100644 --- a/apps/plugins/credits.c +++ b/apps/plugins/credits.c @@ -27,23 +27,6 @@ static const char* const credits[] = { #include "credits.raw" /* generated list of names from docs/CREDITS */ }; -static bool stop_autoscroll(int action) -{ - switch (action) - { - case ACTION_STD_CANCEL: - case ACTION_STD_OK: - case ACTION_STD_NEXT: - case ACTION_STD_NEXTREPEAT: - case ACTION_STD_PREV: - case ACTION_STD_PREVREPEAT: - return true; - default: - return false; - } - return false; -} - #ifdef HAVE_LCD_CHARCELLS static void roll_credits(void) @@ -107,6 +90,23 @@ static void roll_credits(void) #else +static bool stop_autoscroll(int action) +{ + switch (action) + { + case ACTION_STD_CANCEL: + case ACTION_STD_OK: + case ACTION_STD_NEXT: + case ACTION_STD_NEXTREPEAT: + case ACTION_STD_PREV: + case ACTION_STD_PREVREPEAT: + return true; + default: + return false; + } + return false; +} + static int update_rowpos(int action, int cur_pos, int rows_per_screen, int tot_rows) { switch(action) |