treeview: Initialize iImage and iSelectedImage with zero
Felix Nawothnig
flexo at holycrap.org
Tue Jan 9 01:03:39 CST 2007
This fixes bug #5311. Note that the regedit problem described in a
comment is still fixed by the (wineItem->iSelectedImage >= 0). Testcase
passed with native comctl32 v5.82.2900.2982.
ChangeLog:
- Initialize iImage and iSelectedImage with zero
- Add testcase
---
dlls/comctl32/tests/treeview.c | 8 ++++++++
dlls/comctl32/treeview.c | 8 ++++++--
2 files changed, 14 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 234060571b553f0f2abfae546c2e8527de941362.diff
Type: text/x-patch
Size: 1615 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070109/cac2eab1/234060571b553f0f2abfae546c2e8527de941362.bin
More information about the wine-patches
mailing list