projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b69f7a
)
minor optimization of RtlCreateUnicodeString: as the memory never overlaps, just...
author
Thomas Bluemel
<thomas@reactsoft.com>
Fri, 23 Sep 2005 14:13:44 +0000
(14:13 +0000)
committer
Thomas Bluemel
<thomas@reactsoft.com>
Fri, 23 Sep 2005 14:13:44 +0000
(14:13 +0000)
svn path=/trunk/; revision=18011
reactos/lib/rtl/unicode.c
patch
|
blob
|
history
diff --git
a/reactos/lib/rtl/unicode.c
b/reactos/lib/rtl/unicode.c
index
217f695
..
995d889
100644
(file)
--- a/
reactos/lib/rtl/unicode.c
+++ b/
reactos/lib/rtl/unicode.c
@@
-1919,7
+1919,7
@@
RtlCreateUnicodeString(
if (UniDest->Buffer == NULL) return FALSE;
- Rtl
Move
Memory(UniDest->Buffer, Source, Length);
+ Rtl
Copy
Memory(UniDest->Buffer, Source, Length);
UniDest->MaximumLength = (USHORT)Length;
UniDest->Length = Length - sizeof (WCHAR);