Fix resync.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2854 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
static inline void
|
static inline void
|
||||||
resyncUTF8(const unsigned char **ptr) {
|
resyncUTF8(const unsigned char **ptr) {
|
||||||
while ((**ptr & 0xc0) == 0x80)
|
while ((**ptr & 0xc0) == 0x80)
|
||||||
*ptr++;
|
(*ptr)++;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get one character from a UTF-8 encoded string.
|
// Get one character from a UTF-8 encoded string.
|
||||||
|
|||||||
Reference in New Issue
Block a user