Skip to content

Commit

Permalink
Merged 998:974b90b56c43 from default branch: latin1-to-UTF8 fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Sep 30, 2009
1 parent 88268ab commit a259eb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion physfs_unicode.c
Expand Up @@ -308,7 +308,7 @@ static void utf8fromcodepoint(PHYSFS_uint32 cp, char **_dst, PHYSFS_uint64 *_len
len--; \
while (len) \
{ \
const PHYSFS_uint32 cp = (PHYSFS_uint32) *(src++); \
const PHYSFS_uint32 cp = (PHYSFS_uint32) ((typ) (*(src++))); \
if (cp == 0) break; \
utf8fromcodepoint(cp, &dst, &len); \
} \
Expand Down

0 comments on commit a259eb4

Please sign in to comment.