diff options
author | Robert Hak <adiamas@rockbox.org> | 2002-05-21 08:05:39 +0000 |
---|---|---|
committer | Robert Hak <adiamas@rockbox.org> | 2002-05-21 08:05:39 +0000 |
commit | 95cdff16fc68ec154bd3797bfb489b5d840ccccd (patch) | |
tree | 3f4bfbfcef411aa347f405b89dd690134b640288 /apps | |
parent | aa11e3eae3bd579f8c3d5265f3db104489f156ff (diff) | |
download | rockbox-95cdff16fc68ec154bd3797bfb489b5d840ccccd.tar.gz rockbox-95cdff16fc68ec154bd3797bfb489b5d840ccccd.zip |
fixed international chars
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@636 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/credits.c | 59 |
1 files changed, 32 insertions, 27 deletions
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 @@ | |||
17 | * | 17 | * |
18 | ****************************************************************************/ | 18 | ****************************************************************************/ |
19 | 19 | ||
20 | //#ifdef __ROCKBOX_CREDITS_H__ | ||
21 | |||
22 | #include "credits.h" | 20 | #include "credits.h" |
23 | #include "lcd.h" | 21 | #include "lcd.h" |
24 | #include "kernel.h" | 22 | #include "kernel.h" |
@@ -27,7 +25,7 @@ | |||
27 | 25 | ||
28 | struct credit credits[CREDIT_COUNT] = { | 26 | struct credit credits[CREDIT_COUNT] = { |
29 | { "[Credits]", "" }, | 27 | { "[Credits]", "" }, |
30 | { "Björn Stenberg", "Originator, project manager, code" }, | 28 | { "Bjorn Stenberg", "Originator, project manager, code" }, |
31 | { "Linus Nielsen Feltzing", "Electronics, code" }, | 29 | { "Linus Nielsen Feltzing", "Electronics, code" }, |
32 | { "Andy Choi", "Checksums" }, | 30 | { "Andy Choi", "Checksums" }, |
33 | { "Andrew Jamieson", "Schematics, electronics" }, | 31 | { "Andrew Jamieson", "Schematics, electronics" }, |
@@ -39,10 +37,10 @@ struct credit credits[CREDIT_COUNT] = { | |||
39 | { "Stuart Martin", "Code" }, | 37 | { "Stuart Martin", "Code" }, |
40 | { "Felix Arends", "Code" }, | 38 | { "Felix Arends", "Code" }, |
41 | { "Ulf Ralberg", "Thread embryo" }, | 39 | { "Ulf Ralberg", "Thread embryo" }, |
42 | { "David Härdeman", "Initial ID3 code" }, | 40 | { "David Hardeman", "Initial ID3 code" }, |
43 | { "Thomas Saeys", "Logo" }, | 41 | { "Thomas Saeys", "Logo" }, |
44 | { "Grant Wier", "Code" }, | 42 | { "Grant Wier", "Code" }, |
45 | { "Julien Labruyére", "Donated Archos Player" }, | 43 | { "Julien Labruyere", "Donated Archos Player" }, |
46 | { "Nicolas Sauzede", "Display research" }, | 44 | { "Nicolas Sauzede", "Display research" }, |
47 | { "Robert Hak", "Code, FAQ, Sarcasm" }, | 45 | { "Robert Hak", "Code, FAQ, Sarcasm" }, |
48 | { "Dave Chapman", "Code" }, | 46 | { "Dave Chapman", "Code" }, |
@@ -52,28 +50,35 @@ struct credit credits[CREDIT_COUNT] = { | |||
52 | void show_credits(void) | 50 | void show_credits(void) |
53 | { | 51 | { |
54 | int i = 0; | 52 | int i = 0; |
55 | int line = 0; | 53 | int line = 0; |
56 | 54 | ||
57 | lcd_clear_display(); | 55 | lcd_clear_display(); |
58 | 56 | ||
59 | while(i < CREDIT_COUNT-1) { | 57 | while(i < CREDIT_COUNT-1) { |
60 | if ((line % 4 == 0) && (line!=0)) { | 58 | if ((line % 4 == 0) && (line!=0)) { |
61 | lcd_puts(0, 0, (char *)credits[0].name); | 59 | lcd_puts(0, 0, (char *)credits[0].name); |
62 | lcd_update(); | 60 | lcd_update(); |
63 | sleep(DISPLAY_TIME); | 61 | sleep(DISPLAY_TIME); |
64 | lcd_clear_display(); | 62 | lcd_clear_display(); |
65 | line=0; | 63 | line=0; |
66 | } | 64 | } |
67 | lcd_puts(0, ++line, (char *)credits[++i].name); | 65 | lcd_puts(0, ++line, (char *)credits[++i].name); |
68 | } | 66 | } |
69 | 67 | ||
70 | if ((i-1)%4 != 0) { | 68 | if ((i-1)%4 != 0) { |
71 | lcd_puts(0, 0, (char *)credits[0].name); | 69 | lcd_puts(0, 0, (char *)credits[0].name); |
72 | lcd_update(); | 70 | lcd_update(); |
73 | sleep(DISPLAY_TIME); | 71 | sleep(DISPLAY_TIME); |
74 | lcd_clear_display(); | 72 | lcd_clear_display(); |
75 | } | 73 | } |
76 | 74 | ||
77 | } | 75 | } |
78 | 76 | ||
79 | //#endif | 77 | |
78 | |||
79 | |||
80 | |||
81 | |||
82 | |||
83 | |||
84 | |||