[ros-diffs] [fireball] 32448: - We're comparing WCHARs, not CHARs, spotted by Ged Murphy.
fireball at svn.reactos.org
fireball at svn.reactos.org
Fri Feb 22 12:47:21 CET 2008
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=32448&r1=32447&r2=32448&view=diff
==============================================================================
--- 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)
More information about the Ros-diffs
mailing list