From 95cdff16fc68ec154bd3797bfb489b5d840ccccd Mon Sep 17 00:00:00 2001 From: Robert Hak Date: Tue, 21 May 2002 08:05:39 +0000 Subject: fixed international chars git-svn-id: svn://svn.rockbox.org/rockbox/trunk@636 a1c6a512-1295-4272-9138-f99709370657 --- apps/credits.c | 59 +++++++++++++++++++++++++++++++--------------------------- 1 file changed, 32 insertions(+), 27 deletions(-) (limited to 'apps') diff --git a/apps/credits.c b/apps/credits.c index f210d1ffa8..f454fd9898 100644 --- a/apps/credits.c +++ b/apps/credits.c @@ -17,8 +17,6 @@ * ****************************************************************************/ -//#ifdef __ROCKBOX_CREDITS_H__ - #include "credits.h" #include "lcd.h" #include "kernel.h" @@ -27,7 +25,7 @@ struct credit credits[CREDIT_COUNT] = { { "[Credits]", "" }, - { "Björn Stenberg", "Originator, project manager, code" }, + { "Bjorn Stenberg", "Originator, project manager, code" }, { "Linus Nielsen Feltzing", "Electronics, code" }, { "Andy Choi", "Checksums" }, { "Andrew Jamieson", "Schematics, electronics" }, @@ -39,10 +37,10 @@ struct credit credits[CREDIT_COUNT] = { { "Stuart Martin", "Code" }, { "Felix Arends", "Code" }, { "Ulf Ralberg", "Thread embryo" }, - { "David Härdeman", "Initial ID3 code" }, + { "David Hardeman", "Initial ID3 code" }, { "Thomas Saeys", "Logo" }, { "Grant Wier", "Code" }, - { "Julien Labruyére", "Donated Archos Player" }, + { "Julien Labruyere", "Donated Archos Player" }, { "Nicolas Sauzede", "Display research" }, { "Robert Hak", "Code, FAQ, Sarcasm" }, { "Dave Chapman", "Code" }, @@ -52,28 +50,35 @@ struct credit credits[CREDIT_COUNT] = { void show_credits(void) { int i = 0; - int line = 0; - - lcd_clear_display(); - - while(i < CREDIT_COUNT-1) { - if ((line % 4 == 0) && (line!=0)) { - lcd_puts(0, 0, (char *)credits[0].name); - lcd_update(); - sleep(DISPLAY_TIME); - lcd_clear_display(); - line=0; - } - lcd_puts(0, ++line, (char *)credits[++i].name); - } - - if ((i-1)%4 != 0) { - lcd_puts(0, 0, (char *)credits[0].name); - lcd_update(); - sleep(DISPLAY_TIME); - lcd_clear_display(); - } + int line = 0; + + lcd_clear_display(); + + while(i < CREDIT_COUNT-1) { + if ((line % 4 == 0) && (line!=0)) { + lcd_puts(0, 0, (char *)credits[0].name); + lcd_update(); + sleep(DISPLAY_TIME); + lcd_clear_display(); + line=0; + } + lcd_puts(0, ++line, (char *)credits[++i].name); + } + + if ((i-1)%4 != 0) { + lcd_puts(0, 0, (char *)credits[0].name); + lcd_update(); + sleep(DISPLAY_TIME); + lcd_clear_display(); + } } -//#endif + + + + + + + + -- cgit v1.2.3