From 3326a5b566d4f9d27b4e685ca37554f0f6c50cfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Sun, 2 Jun 2013 22:11:50 +0000 Subject: [PATCH] [RTL] Use RtlDowncaseUnicodeChar instead of towlower svn path=/trunk/; revision=59163 --- reactos/lib/rtl/path.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/rtl/path.c b/reactos/lib/rtl/path.c index 3dd2a4c280d..95a00ecb2a9 100644 --- a/reactos/lib/rtl/path.c +++ b/reactos/lib/rtl/path.c @@ -164,7 +164,7 @@ RtlIsDosDeviceName_Ustr(IN PCUNICODE_STRING PathString) { /* 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 @@ RtlIsDosDeviceName_Ustr(IN PCUNICODE_STRING PathString) } /* 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 */