Module: wine Branch: master Commit: 7f76cf6c26012bc6ad9488e96b08133f86f148c4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7f76cf6c26012bc6ad9488e96b...
Author: Hugh McMaster hugh.mcmaster@outlook.com Date: Fri Jun 16 13:06:50 2017 +0000
regedit: Use the correct mask flags with LVM_GETNEXTITEM.
Signed-off-by: Hugh McMaster hugh.mcmaster@outlook.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
programs/regedit/framewnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/regedit/framewnd.c b/programs/regedit/framewnd.c index 0503dc8..539be96 100644 --- a/programs/regedit/framewnd.c +++ b/programs/regedit/framewnd.c @@ -187,7 +187,7 @@ static void UpdateMenuItems(HMENU hMenu) { selection = (HTREEITEM)SendMessageW(hwndTV, TVM_GETNEXTITEM, TVGN_CARET, 0); keyName = GetItemPath(hwndTV, selection, &hRootKey); index = SendMessageW(g_pChildWnd->hListWnd, LVM_GETNEXTITEM, -1, - MAKELPARAM(LVIS_FOCUSED | LVIS_SELECTED, 0)); + MAKELPARAM(LVNI_FOCUSED | LVNI_SELECTED, 0));
update_expand_or_collapse_item(hwndTV, selection, hMenu); update_modify_items(hMenu, index);