Author: fireball Date: Mon Nov 5 23:12:03 2007 New Revision: 30197
URL: http://svn.reactos.org/svn/reactos?rev=30197&view=rev Log: - Fix a typo (compare a WCHAR with a WCHAR, not CHAR).
Modified: trunk/reactos/ntoskrnl/cm/ntfunc.c
Modified: trunk/reactos/ntoskrnl/cm/ntfunc.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/cm/ntfunc.c?rev=30... ============================================================================== --- trunk/reactos/ntoskrnl/cm/ntfunc.c (original) +++ trunk/reactos/ntoskrnl/cm/ntfunc.c Mon Nov 5 23:12:03 2007 @@ -275,7 +275,7 @@ }
while (RemainingPath.Length && - RemainingPath.Buffer[(RemainingPath.Length / sizeof(WCHAR)) - 1] == '\') + RemainingPath.Buffer[(RemainingPath.Length / sizeof(WCHAR)) - 1] == L'\') { RemainingPath.Length -= sizeof(WCHAR); RemainingPath.MaximumLength -= sizeof(WCHAR);