From f3230af58db562f89dfba00ef0ca7c7a1512a5b3 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Mon, 9 May 2005 16:22:47 +0000 Subject: [PATCH] Minor optimisation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6450 a1c6a512-1295-4272-9138-f99709370657 --- apps/credits.c | 4 ++-- 1 file 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)