Hugh McMaster : regedit: Do not select/ highlight a listview item on refresh.

Alexandre Julliard julliard at winehq.org
Wed Mar 29 15:02:51 CDT 2017


Module: wine
Branch: master
Commit: 5aaa77c9bb70e2669e1f1b8282bec7c62b16326e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5aaa77c9bb70e2669e1f1b8282bec7c62b16326e

Author: Hugh McMaster <hugh.mcmaster at outlook.com>
Date:   Wed Mar 29 05:25:56 2017 +0000

regedit: Do not select/highlight a listview item on refresh.

Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/regedit/listview.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/programs/regedit/listview.c b/programs/regedit/listview.c
index b9366e5..fc234d4 100644
--- a/programs/regedit/listview.c
+++ b/programs/regedit/listview.c
@@ -138,7 +138,7 @@ static void AddEntryToList(HWND hwndLV, LPWSTR Name, DWORD dwValType,
     item.pszText = Name ? Name : LPSTR_TEXTCALLBACKW;
     item.cchTextMax = Name ? lstrlenW(item.pszText) : 0;
     if (bHighlight) {
-        item.stateMask = item.state = LVIS_FOCUSED | LVIS_SELECTED;
+        item.stateMask = item.state = LVIS_FOCUSED;
     }
     switch (dwValType)
     {




More information about the wine-cvs mailing list