diff options
author | Andrey Hristov <andrey@php.net> | 2010-09-23 16:03:22 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2010-09-23 16:03:22 +0000 |
commit | 216effe4f5445919347896f6c39a2f97ee31f634 (patch) | |
tree | 7c75923375ee5c3d74f9023ca73901677124ce19 /ext/mysqlnd/mysqlnd_charset.c | |
parent | 8bb124394bf1734bd41bb2a28d1a3fbd8f74180a (diff) | |
download | php-git-216effe4f5445919347896f6c39a2f97ee31f634.tar.gz |
WS fixes
Diffstat (limited to 'ext/mysqlnd/mysqlnd_charset.c')
-rw-r--r-- | ext/mysqlnd/mysqlnd_charset.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |