forked from len0rd/rockbox
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
This commit is contained in:
parent
c09c4afb23
commit
6b342e4e8d
1 changed files with 3 additions and 3 deletions
|
|
@ -101,8 +101,8 @@ static int unicode_munge(char** string, int *len) {
|
||||||
|
|
||||||
/* Type 0x00 is ordinary ISO 8859-1 */
|
/* Type 0x00 is ordinary ISO 8859-1 */
|
||||||
if(str[0] == 0x00) {
|
if(str[0] == 0x00) {
|
||||||
*len--;
|
(*len)--;
|
||||||
*string++; /* Skip the encoding type byte */
|
(*string)++; /* Skip the encoding type byte */
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -136,7 +136,7 @@ static int unicode_munge(char** string, int *len) {
|
||||||
} while(str[0] || str[1]);
|
} while(str[0] || str[1]);
|
||||||
|
|
||||||
*len = i;
|
*len = i;
|
||||||
*string++; /* Skip the encoding type byte */
|
(*string)++; /* Skip the encoding type byte */
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue