Author: pschweitzer
Date: Mon Nov  7 06:45:17 2011
New Revision: 54333

URL: http://svn.reactos.org/svn/reactos?rev=54333&view=rev
Log:
[KERNEL32]
Fix wrong L usage in new code.

Modified:
    trunk/reactos/dll/win32/kernel32/client/path.c

Modified: trunk/reactos/dll/win32/kernel32/client/path.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/path.c?rev=54333&r1=54332&r2=54333&view=diff
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/path.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/path.c [iso-8859-1] Mon Nov  7 
06:45:17 2011
@@ -111,7 +111,7 @@
         }
 
         /* Check if this is perhaps an extension? */
-        if (c == L'.')
+        if (c == '.')
         {
             /* Unless the extension is too large or there's more than one */
             if ((HasExtension) || (Dots > 3)) return FALSE;
@@ -144,7 +144,7 @@
     for (i = 0, Dots = Length - 1; i < Length; i++, Dots--)
     {
         /* Check if this could be an extension */
-        if (FileName[i] == '.')
+        if (FileName[i] == L'.')
         {
             /* Unlike the short case, we WANT more than one extension, or a 
long one */
             if ((HasExtension) || (Dots > 3))


Reply via email to