summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-09-24 12:50:45 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-09-24 12:50:45 +0000
commit6823fe8bd748dfe05090905adf9e19a34b2e4376 (patch)
treec0d12a04aa19e6a1bd254bc6c595dba188d07976 /apps
parent571e8a26e0360f30ad7dec3a59d96fcf784345ec (diff)
downloadrockbox-6823fe8bd748dfe05090905adf9e19a34b2e4376.tar.gz
rockbox-6823fe8bd748dfe05090905adf9e19a34b2e4376.zip
updated comments for the function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2394 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/language.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/language.c b/apps/language.c
index 614a4869d5..716ac69020 100644
--- a/apps/language.c
+++ b/apps/language.c
@@ -40,15 +40,15 @@ void lang_load(char *filename)
40 filesize-=2; 40 filesize-=2;
41 41
42 while(filesize>3) { 42 while(filesize>3) {
43 id = (ptr[0]<<8) | ptr[1]; 43 id = (ptr[0]<<8) | ptr[1]; /* get two-byte id */
44 ptr+=2; 44 ptr+=2; /* pass the id */
45 language_strings[id] = ptr; 45 language_strings[id] = ptr; /* point to this string */
46 while(*ptr) { 46 while(*ptr) { /* pass the string */
47 filesize--; 47 filesize--;
48 ptr++; 48 ptr++;
49 } 49 }
50 filesize-=3; 50 filesize-=3; /* the id and the terminating zero */
51 ptr++; /* pass the terminating newline */ 51 ptr++; /* pass the terminating zero-byte */
52 } 52 }
53 } 53 }
54 else { 54 else {