Hi Nikolay,
This fixes https://bugs.winehq.org/show_bug.cgi?id=35127
As I was working through bug 35127, I noticed that you had once changed the layout of struct _TREEITEM in commit 6ec621e835e03f715d5fee27c5de5b0d361814de.
Now I am sure that textWidth in struct _TREEITEM is a WORD and is at the offset 0x1a. You can check out the bug comments for details. I tried to find out what is at 0x18 but no luck, thus I am adding a unknown member to make textWidth at the right offset.
What do you think of the patch? Do you know what member is at struct _TREEITEM+0x18? I can use your opinion with this patch.
Thanks, Zhiyi Zhang
Signed-off-by: Zhiyi Zhang yi.gd.cn@gmail.com --- dlls/comctl32/tests/treeview.c | 58 ++++++++++++++++++++++++++++++++++++------ dlls/comctl32/treeview.c | 3 ++- 2 files changed, 52 insertions(+), 9 deletions(-)