diff --git a/dlls/explorerframe/nstc.c b/dlls/explorerframe/nstc.c index e8a2c54e09c..87a72005f4f 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))