mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 17:10:22 +00:00
[KERNEL32]
Fix wrong L usage in new code. svn path=/trunk/; revision=54333
This commit is contained in:
parent
a458290ab1
commit
b7ad8c6fb9
1 changed files with 2 additions and 2 deletions
|
@ -111,7 +111,7 @@ IsShortName_U(IN PWCHAR Name,
|
|||
}
|
||||
|
||||
/* 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 @@ IsLongName_U(IN PWCHAR FileName,
|
|||
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))
|
||||
|
|
Loading…
Reference in a new issue