fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17592 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b4275d4941
commit
5f796087b0
1 changed files with 17 additions and 17 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue