Commit faf9c55e authored by Lei Zhang's avatar Lei Zhang Committed by Alexandre Julliard

regedit: Fix typo in commit c6d01ac8.

parent 5bef4b05
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment