1
0
Fork 0
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:
Daniel Stenberg 2002-10-01 14:36:37 +00:00
parent c09c4afb23
commit 6b342e4e8d

View file

@ -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;
} }