regedit: Fix typo in commit c6d01ac847.

This commit is contained in:
Lei Zhang 2008-08-27 15:00:53 -07:00 committed by Alexandre Julliard
parent 5bef4b05dd
commit faf9c55eb8
1 changed files with 1 additions and 1 deletions

View File

@ -549,7 +549,7 @@ BOOL RefreshListView(HWND hwndLV, HKEY hKeyRoot, LPCTSTR keyPath, LPCTSTR highli
errCode = RegEnumValueW(hKey, index, valName, &valNameLen, NULL, &valType, valBuf, &valSize); errCode = RegEnumValueW(hKey, index, valName, &valNameLen, NULL, &valType, valBuf, &valSize);
if (errCode != ERROR_SUCCESS) goto done; if (errCode != ERROR_SUCCESS) goto done;
valBuf[valSize] = 0; valBuf[valSize] = 0;
if (valName && highlightValueW && lstrcmpW(valName, highlightValueW)) if (valName && highlightValueW && !lstrcmpW(valName, highlightValueW))
bSelected = TRUE; bSelected = TRUE;
AddEntryToList(hwndLV, valName[0] ? valName : NULL, valType, valBuf, valSize, bSelected); AddEntryToList(hwndLV, valName[0] ? valName : NULL, valType, valBuf, valSize, bSelected);
} }