mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:13:56 +00:00
Cosmetics.
This commit is contained in:
parent
41a22f2c74
commit
035887513d
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ BOOLEAN WINAPI RtlCreateUnicodeString( PUNICODE_STRING target, LPCWSTR src )
|
|||
if (!(target->Buffer = RtlAllocateHeap( GetProcessHeap(), 0, len ))) return FALSE;
|
||||
memcpy( target->Buffer, src, len );
|
||||
target->MaximumLength = len;
|
||||
target->Length = len - 2;
|
||||
target->Length = len - sizeof(WCHAR);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue