- Only check for MBCS lead bytes in RtlIsTextUnicode if specifically requested
CORE-12027 #resolve for real this time

svn path=/trunk/; revision=72887
This commit is contained in:
Thomas Faber
2016-10-02 08:34:30 +00:00
parent e294510fcd
commit bbc1b9deba
+1 -1
View File
@@ -1367,7 +1367,7 @@ RtlIsTextUnicode(CONST VOID* buf, INT len, INT* pf)
else
weight = 1;
if (flags & IS_TEXT_UNICODE_DBCS_LEADBYTE)
if (pf && (*pf & IS_TEXT_UNICODE_DBCS_LEADBYTE))
out_flags |= IS_TEXT_UNICODE_DBCS_LEADBYTE;
}
}