diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/utf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -555,7 +555,7 @@ int sqlite3Utf16ByteLen(const void *zIn, int nByte, int nChar){ int n = 0; if( SQLITE_UTF16NATIVE==SQLITE_UTF16LE ) z++; - while( n<nChar && ALWAYS(z<=zEnd) ){ + while( n<nChar && z<=zEnd ){ c = z[0]; z += 2; if( c>=0xd8 && c<0xdc && z<=zEnd && z[0]>=0xdc && z[0]<0xe0 ) z += 2; |