From a5fd03e6e1ecef7f0740c4ad9c81e4799df51a03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Sun, 29 Jan 2017 13:48:39 +0000 Subject: [PATCH] [SHELL32]: Fix build on *sane* compilers (wth, is that an assignment without the equal sign, or a called constructor, missing its parentheses?!). svn path=/trunk/; revision=73619 --- reactos/dll/win32/shell32/CDefView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/shell32/CDefView.cpp b/reactos/dll/win32/shell32/CDefView.cpp index 7d778906127..2fd84bb45b2 100644 --- a/reactos/dll/win32/shell32/CDefView.cpp +++ b/reactos/dll/win32/shell32/CDefView.cpp @@ -2828,7 +2828,7 @@ HRESULT CDefView::drag_notify_subitem(DWORD grfKeyState, POINTL pt, DWORD *pdwEf /* Map from global to client coordinates and query the index of the listview-item, which is * currently under the mouse cursor. */ - LVHITTESTINFO htinfo { {pt.x, pt.y}, LVHT_ONITEM}; + LVHITTESTINFO htinfo = {{pt.x, pt.y}, LVHT_ONITEM}; ScreenToClient(&htinfo.pt); lResult = m_ListView.HitTest(&htinfo);