summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-05-09 16:22:47 +0000
committerJens Arnold <amiconn@rockbox.org>2005-05-09 16:22:47 +0000
commitf3230af58db562f89dfba00ef0ca7c7a1512a5b3 (patch)
treeb0899d3181a2786f65858c5f1549266a1e1660bd
parenta462b0caa39cf6464108c8269f4c5fc76fde1756 (diff)
Minor optimisation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6450 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/credits.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/credits.c b/apps/credits.c
index d3539aefae..72a33cf3c5 100644
--- a/apps/credits.c
+++ b/apps/credits.c
@@ -60,15 +60,15 @@ void roll_credits(void)
if (++name >= numnames)
break;
+ line ^= 1;
x2 = x + len/2;
if ((unsigned)x2 < 11)
- lcd_puts(x2, line ^ 1, "*");
+ lcd_putc(x2, line, '*');
new_len = strlen(credits[name]);
x += MAX(len/2 + 2, len - new_len/2 + 1);
len = new_len;
- line ^= 1;
}
/* abort on keypress */
if (button_get_w_tmo(HZ/8) & BUTTON_REL)