From c69569e9281410ddeb5a19aebc7957afca902a49 Mon Sep 17 00:00:00 2001 From: Meep-Eep Date: Sun, 16 Sep 2007 15:32:00 +0000 Subject: [PATCH] Fix resync. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2854 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/libs/strings/unicode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc2/src/sc2code/libs/strings/unicode.c b/sc2/src/sc2code/libs/strings/unicode.c index 0034bcffd..6f34a4454 100644 --- a/sc2/src/sc2code/libs/strings/unicode.c +++ b/sc2/src/sc2code/libs/strings/unicode.c @@ -28,7 +28,7 @@ static inline void resyncUTF8(const unsigned char **ptr) { while ((**ptr & 0xc0) == 0x80) - *ptr++; + (*ptr)++; } // Get one character from a UTF-8 encoded string.