[KERNEL32]

Fix wrong L usage in new code.

svn path=/trunk/; revision=54333
This commit is contained in:
Pierre Schweitzer 2011-11-07 06:45:17 +00:00
parent a458290ab1
commit b7ad8c6fb9

View file

@ -111,7 +111,7 @@ IsShortName_U(IN PWCHAR Name,
} }
/* Check if this is perhaps an extension? */ /* Check if this is perhaps an extension? */
if (c == L'.') if (c == '.')
{ {
/* Unless the extension is too large or there's more than one */ /* Unless the extension is too large or there's more than one */
if ((HasExtension) || (Dots > 3)) return FALSE; if ((HasExtension) || (Dots > 3)) return FALSE;
@ -144,7 +144,7 @@ IsLongName_U(IN PWCHAR FileName,
for (i = 0, Dots = Length - 1; i < Length; i++, Dots--) for (i = 0, Dots = Length - 1; i < Length; i++, Dots--)
{ {
/* Check if this could be an extension */ /* 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 */ /* Unlike the short case, we WANT more than one extension, or a long one */
if ((HasExtension) || (Dots > 3)) if ((HasExtension) || (Dots > 3))