mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 07:37:02 +00:00
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>
This commit is contained in:
parent
1f08ee2453
commit
7f76cf6c26
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue