Andrew Eikum : Revert "explorerframe: Allow treeview expandos to open with a single click.".

Alexandre Julliard julliard at wine.codeweavers.com
Wed Nov 25 10:11:20 CST 2015


Module: wine
Branch: master
Commit: 585009124aafc1fa6aaa536573a59fad7834f930
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=585009124aafc1fa6aaa536573a59fad7834f930

Author: Andrew Eikum <aeikum at codeweavers.com>
Date:   Wed Nov 25 07:07:10 2015 -0600

Revert "explorerframe: Allow treeview expandos to open with a single click.".

This reverts commit 5bbdcaaa16018c9e15cbaadb3a6e5954d0089cf1.

Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/explorerframe/nstc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/explorerframe/nstc.c b/dlls/explorerframe/nstc.c
index e8a2c54..87a7200 100644
--- a/dlls/explorerframe/nstc.c
+++ b/dlls/explorerframe/nstc.c
@@ -686,9 +686,9 @@ static LRESULT on_nm_click(NSTC2Impl *This, NMHDR *nmhdr)
     psi = shellitem_from_treeitem(This, tvhit.hItem);
     hr = events_OnItemClick(This, psi, tvhit.flags, NSTCECT_LBUTTON);
 
-    /* The label should not be expanded unless
+    /* The expando should not be expanded unless
      * double-clicked. */
-    if(tvhit.flags == TVHT_ONITEMLABEL)
+    if(tvhit.flags == TVHT_ONITEMBUTTON)
         return TRUE;
 
     if(SUCCEEDED(hr))




More information about the wine-cvs mailing list