[PATCH] comctl32/treeview: Make textWidth in struct _TREEITEM compatible with native one.
yi.gd.cn at gmail.com
Fri Jan 19 23:40:25 CST 2018
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
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.
Signed-off-by: Zhiyi Zhang <yi.gd.cn at gmail.com>
dlls/comctl32/tests/treeview.c | 58
dlls/comctl32/treeview.c | 3 ++-
2 files changed, 52 insertions(+), 9 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5486 bytes
Desc: not available
More information about the wine-devel