mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 22:47:28 +00:00
[RTL]
- 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:
parent
e294510fcd
commit
bbc1b9deba
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue