- We're comparing WCHARs, not CHARs, spotted by Ged Murphy.

svn path=/trunk/; revision=32448
This commit is contained in:
Aleksey Bragin 2008-02-22 11:47:20 +00:00
parent fc56cc8116
commit 5b1c7de117

View file

@ -150,7 +150,7 @@ FsRtlDissectName(IN UNICODE_STRING Name,
for (i = 0; i < Name.Length / sizeof(WCHAR); i++)
{
/* If we found one... */
if (Name.Buffer[i] == '\\')
if (Name.Buffer[i] == L'\\')
{
/* If it begins string, just notice it and continue */
if (i == 0)