regedit: Write-strings warning fix
Andrew Talbot
Andrew.Talbot at talbotville.com
Thu Jul 6 12:55:19 CDT 2006
Changelog:
regedit: Write-strings warning fix.
diff -urN a/programs/regedit/listview.c b/programs/regedit/listview.c
--- a/programs/regedit/listview.c 2006-07-03 18:37:34.000000000 +0100
+++ b/programs/regedit/listview.c 2006-07-06 18:27:27.000000000 +0100
@@ -165,7 +165,8 @@
if (ValBuf) {
ListView_SetItemText(hwndLV, index, 2, ValBuf);
} else {
- ListView_SetItemText(hwndLV, index, 2, "(not set)");
+ TCHAR textT[] = {'(','n','o','t',' ','s','e','t',')',0};
+ ListView_SetItemText(hwndLV, index, 2, textT);
}
break;
case REG_DWORD: {
More information about the wine-patches
mailing list