Author: tfaber
Date: Wed Jul 13 17:48:21 2016
New Revision: 71930
URL:
http://svn.reactos.org/svn/reactos?rev=71930&view=rev
Log:
[NTOSKRNL_VISTA]
- Avoid ugly hacks
CORE-11596 #resolve
Modified:
trunk/reactos/sdk/lib/drivers/ntoskrnl_vista/rtl.c
Modified: trunk/reactos/sdk/lib/drivers/ntoskrnl_vista/rtl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/drivers/ntoskrnl_v…
==============================================================================
--- trunk/reactos/sdk/lib/drivers/ntoskrnl_vista/rtl.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/drivers/ntoskrnl_vista/rtl.c [iso-8859-1] Wed Jul 13 17:48:21
2016
@@ -70,12 +70,7 @@
}
/* 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;