mirror of
https://github.com/reactos/reactos.git
synced 2025-05-21 18:16:07 +00:00
[NTOSKRNL_VISTA]
- Avoid ugly hacks CORE-11596 #resolve svn path=/trunk/; revision=71930
This commit is contained in:
parent
8889af9d21
commit
02da519230
1 changed files with 1 additions and 6 deletions
|
@ -70,12 +70,7 @@ NTSTATUS NTAPI RtlUnicodeToUTF8N(CHAR *utf8_dest, ULONG utf8_bytes_max,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* encode ch as UTF-8 */
|
/* encode ch as UTF-8 */
|
||||||
#ifndef __REACTOS__
|
ASSERT(ch <= 0x10ffff);
|
||||||
assert(ch <= 0x10ffff);
|
|
||||||
#endif
|
|
||||||
#ifdef __REACTOS__
|
|
||||||
utf8_ch_len = 0; // FIXME: Check whether a non-zero value might be better for the case ch >= 0x200000 ?
|
|
||||||
#endif
|
|
||||||
if (ch < 0x80)
|
if (ch < 0x80)
|
||||||
{
|
{
|
||||||
utf8_ch[0] = ch & 0x7f;
|
utf8_ch[0] = ch & 0x7f;
|
||||||
|
|
Loading…
Reference in a new issue