Author: fireball
Date: Fri Feb 22 14:47:20 2008
New Revision: 32448
URL:
http://svn.reactos.org/svn/reactos?rev=32448&view=rev
Log:
- We're comparing WCHARs, not CHARs, spotted by Ged Murphy.
Modified:
trunk/reactos/ntoskrnl/fsrtl/name.c
Modified: trunk/reactos/ntoskrnl/fsrtl/name.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/name.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/fsrtl/name.c (original)
+++ trunk/reactos/ntoskrnl/fsrtl/name.c Fri Feb 22 14:47:20 2008
@@ -150,7 +150,7 @@
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)