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 | 859a1404bf9593ee58dcc969ff63ae89bfc85a9c (patch) | |
tree | 7a418d8b3f0edb581ecdf841dedfaf4e4722979b /ext/mysqlnd/mysqlnd_charset.c | |
parent | 1ab38567b981f2c6755ecb036cc7831ad6d6aa9d (diff) | |
download | php-git-859a1404bf9593ee58dcc969ff63ae89bfc85a9c.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; } |