Author: hbelusca
Date: Sun Jun 2 22:11:50 2013
New Revision: 59163
URL: http://svn.reactos.org/svn/reactos?rev=59163&view=rev
Log:
[RTL]
Use RtlDowncaseUnicodeChar instead of towlower
Modified:
trunk/reactos/lib/rtl/path.c
Modified: trunk/reactos/lib/rtl/path.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/path.c?rev=59163&r…
==============================================================================
--- trunk/reactos/lib/rtl/path.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/path.c [iso-8859-1] Sun Jun 2 22:11:50 2013
@@ -164,7 +164,7 @@
{
/* Get the next lower case character */
End++;
- c = towlower(*End);
+ c = RtlDowncaseUnicodeChar(*End);
/* Check if it's a DOS device (LPT, COM, PRN, AUX, or NUL) */
if ((End < &PathCopy.Buffer[OriginalLength / sizeof(WCHAR)]) &&
@@ -190,7 +190,7 @@
}
/* Get the next lower case character and check if it's a DOS device */
- c = towlower(*PathCopy.Buffer);
+ c = RtlDowncaseUnicodeChar(*PathCopy.Buffer);
if ((c != 'l') && (c != 'c') && (c != 'p') && (c != 'a') && (c != 'n'))
{
/* Not LPT, COM, PRN, AUX, or NUL */