diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-10-01 14:36:37 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-10-01 14:36:37 +0000 |
commit | 6b342e4e8d97beec3f6f1226886ea99470b37f18 (patch) | |
tree | c7a54872a955874a92c303cc2f35b0ce608f0629 /firmware | |
parent | c09c4afb2330df87bc65edbe00138ca8515673b3 (diff) | |
download | rockbox-6b342e4e8d97beec3f6f1226886ea99470b37f18.tar.gz rockbox-6b342e4e8d97beec3f6f1226886ea99470b37f18.zip |
modify the data these point to, these operators are right-to-left...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2470 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/id3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/id3.c b/firmware/id3.c index 30c095cf09..54f0f970c1 100644 --- a/firmware/id3.c +++ b/firmware/id3.c | |||
@@ -101,8 +101,8 @@ static int unicode_munge(char** string, int *len) { | |||
101 | 101 | ||
102 | /* Type 0x00 is ordinary ISO 8859-1 */ | 102 | /* Type 0x00 is ordinary ISO 8859-1 */ |
103 | if(str[0] == 0x00) { | 103 | if(str[0] == 0x00) { |
104 | *len--; | 104 | (*len)--; |
105 | *string++; /* Skip the encoding type byte */ | 105 | (*string)++; /* Skip the encoding type byte */ |
106 | return 0; | 106 | return 0; |
107 | } | 107 | } |
108 | 108 | ||
@@ -136,7 +136,7 @@ static int unicode_munge(char** string, int *len) { | |||
136 | } while(str[0] || str[1]); | 136 | } while(str[0] || str[1]); |
137 | 137 | ||
138 | *len = i; | 138 | *len = i; |
139 | *string++; /* Skip the encoding type byte */ | 139 | (*string)++; /* Skip the encoding type byte */ |
140 | return 0; | 140 | return 0; |
141 | } | 141 | } |
142 | 142 | ||