From 5f796087b009fee1ae60904b0355cc7febe3330f Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 21 May 2008 07:08:27 +0000 Subject: fix yellow git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17592 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/credits.c | 34 +++++++++++++++++----------------- 1 file 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) -- cgit v1.2.3