regedit: Write-strings warning fix.

This commit is contained in:
Andrew Talbot 2006-07-06 18:55:19 +01:00 committed by Alexandre Julliard
parent f627845624
commit 973371c01d
1 changed files with 2 additions and 1 deletions

View File

@ -165,7 +165,8 @@ static void AddEntryToList(HWND hwndLV, LPTSTR Name, DWORD dwValType,
if (ValBuf) { if (ValBuf) {
ListView_SetItemText(hwndLV, index, 2, ValBuf); ListView_SetItemText(hwndLV, index, 2, ValBuf);
} else { } else {
ListView_SetItemText(hwndLV, index, 2, "(not set)"); TCHAR textT[] = {'(','n','o','t',' ','s','e','t',')',0};
ListView_SetItemText(hwndLV, index, 2, textT);
} }
break; break;
case REG_DWORD: { case REG_DWORD: {