From 216effe4f5445919347896f6c39a2f97ee31f634 Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Thu, 23 Sep 2010 16:03:22 +0000 Subject: WS fixes --- ext/mysqlnd/mysqlnd_charset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/mysqlnd/mysqlnd_charset.c') diff --git a/ext/mysqlnd/mysqlnd_charset.c b/ext/mysqlnd/mysqlnd_charset.c index 0069b83018..7f525603da 100644 --- a/ext/mysqlnd/mysqlnd_charset.c +++ b/ext/mysqlnd/mysqlnd_charset.c @@ -399,7 +399,7 @@ static unsigned int check_mb_utf16(const char *start, const char *end) if (start + 2 > end) { return 0; } - + if (UTF16_HIGH_HEAD(*start)) { return (start + 4 <= end) && UTF16_LOW_HEAD(start[2]) ? 4 : 0; } -- cgit v1.2.1