Module: wine Branch: master Commit: 75d774a43b53c934ae3b848f618a9be21bef655d URL: http://source.winehq.org/git/wine.git/?a=commit;h=75d774a43b53c934ae3b848f61...
Author: Daniel Jelinski djelinski1@gmail.com Date: Wed Feb 20 22:36:23 2013 +0100
comctl32/listview: Fix incorrect message parameters.
---
dlls/comctl32/listview.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index a22b2da..83bdf56 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c @@ -3549,8 +3549,8 @@ static BOOL LISTVIEW_AddGroupSelection(LISTVIEW_INFO *infoPtr, INT nItem) ZeroMemory(&nmlv, sizeof(nmlv)); nmlv.iFrom = nFirst; nmlv.iTo = nLast; - nmlv.uNewState = 0; - nmlv.uOldState = item.state; + nmlv.uOldState = 0; + nmlv.uNewState = item.state;
notify_hdr(infoPtr, LVN_ODSTATECHANGED, (LPNMHDR)&nmlv); if (!IsWindow(hwndSelf))