Commit 3db30e37 authored by Maxime Bellengé's avatar Maxime Bellengé Committed by Alexandre Julliard

Fix unreachable TVHT_ONITEMSTATEICON in TREEVIEW_LButtonDown.

parent 08922859
......@@ -3960,7 +3960,7 @@ TREEVIEW_LButtonDown(TREEVIEW_INFO *infoPtr, LPARAM lParam)
SetTimer(hwnd, TV_EDIT_TIMER, GetDoubleClickTime(), 0);
infoPtr->Timer |= TV_EDIT_TIMER_SET;
}
else if (ht.flags & TVHT_ONITEM) /* select the item if the hit was inside of the icon or text */
else if (ht.flags & (TVHT_ONITEMICON|TVHT_ONITEMLABEL)) /* select the item if the hit was inside of the icon or text */
{
/*
* if we are TVS_SINGLEEXPAND then we want this single click to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment