projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
340ac02
)
- Fix a typo (compare a WCHAR with a WCHAR, not CHAR).
author
Aleksey Bragin
<aleksey@reactos.org>
Mon, 5 Nov 2007 20:12:03 +0000
(20:12 +0000)
committer
Aleksey Bragin
<aleksey@reactos.org>
Mon, 5 Nov 2007 20:12:03 +0000
(20:12 +0000)
svn path=/trunk/; revision=30197
reactos/ntoskrnl/cm/ntfunc.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/cm/ntfunc.c
b/reactos/ntoskrnl/cm/ntfunc.c
index
ecf3a8f
..
632e581
100644
(file)
--- a/
reactos/ntoskrnl/cm/ntfunc.c
+++ b/
reactos/ntoskrnl/cm/ntfunc.c
@@
-275,7
+275,7
@@
NtCreateKey(OUT PHANDLE KeyHandle,
}
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);