Cosmetics.

This commit is contained in:
Dmitry Timoshkov 2002-08-13 18:18:38 +00:00 committed by Alexandre Julliard
parent 41a22f2c74
commit 035887513d

View file

@ -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;
}