regedit: Write-strings warning fix.
This commit is contained in:
parent
f627845624
commit
973371c01d
|
@ -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: {
|
||||||
|
|
Loading…
Reference in New Issue