mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +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 */
|
||||
#ifndef __REACTOS__
|
||||
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
|
||||
ASSERT(ch <= 0x10ffff);
|
||||
if (ch < 0x80)
|
||||
{
|
||||
utf8_ch[0] = ch & 0x7f;
|
||||
|
|
Loading…
Reference in a new issue