combase: Reorder hstring_private elements.
commitba9737ba827bd25c4e8d7d8dd1c15440c90dcddf
authorBernhard Kölbl <besentv@gmail.com>
Mon, 24 Jan 2022 15:09:23 +0000 (24 16:09 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 26 Jan 2022 20:53:56 +0000 (26 21:53 +0100)
tree4b0642c31eb9fe834abb8dd2f25b7b4d57b425bf
parent369e4e3609b9f0b8c846bdd346a8aa040270c49a
combase: Reorder hstring_private elements.

Put the string buffer at the end of the struct to
match the Windows behaviour and avoid unnecessary
pointer arithmetic.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51017
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/combase/string.c
dlls/combase/tests/string.c