From 6b342e4e8d97beec3f6f1226886ea99470b37f18 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 1 Oct 2002 14:36:37 +0000 Subject: 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 --- firmware/id3.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'firmware') 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) { /* Type 0x00 is ordinary ISO 8859-1 */ if(str[0] == 0x00) { - *len--; - *string++; /* Skip the encoding type byte */ + (*len)--; + (*string)++; /* Skip the encoding type byte */ return 0; } @@ -136,7 +136,7 @@ static int unicode_munge(char** string, int *len) { } while(str[0] || str[1]); *len = i; - *string++; /* Skip the encoding type byte */ + (*string)++; /* Skip the encoding type byte */ return 0; } -- cgit v1.2.3