Lei Zhang : regedit: Fix typo in commit c6d01ac847edc2ad02ef02c7a0ead7a833539c3c.

Alexandre Julliard julliard at winehq.org
Thu Aug 28 07:00:35 CDT 2008


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

Author: Lei Zhang <thestig at google.com>
Date:   Wed Aug 27 15:00:53 2008 -0700

regedit: Fix typo in commit c6d01ac847edc2ad02ef02c7a0ead7a833539c3c.

---

 programs/regedit/listview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/regedit/listview.c b/programs/regedit/listview.c
index 1091d8d..3186a37 100644
--- a/programs/regedit/listview.c
+++ b/programs/regedit/listview.c
@@ -549,7 +549,7 @@ BOOL RefreshListView(HWND hwndLV, HKEY hKeyRoot, LPCTSTR keyPath, LPCTSTR highli
         errCode = RegEnumValueW(hKey, index, valName, &valNameLen, NULL, &valType, valBuf, &valSize);
 	if (errCode != ERROR_SUCCESS) goto done;
         valBuf[valSize] = 0;
-        if (valName && highlightValueW && lstrcmpW(valName, highlightValueW))
+        if (valName && highlightValueW && !lstrcmpW(valName, highlightValueW))
             bSelected = TRUE;
         AddEntryToList(hwndLV, valName[0] ? valName : NULL, valType, valBuf, valSize, bSelected);
     }




More information about the wine-cvs mailing list