Avoid compiler warning in AddEntryToList().

This commit is contained in:
Gerald Pfeifer 2005-06-29 11:17:42 +00:00 committed by Alexandre Julliard
parent 9393580ab5
commit db7fc1cd58

View File

@ -159,7 +159,7 @@ static void AddEntryToList(HWND hwndLV, LPTSTR Name, DWORD dwValType,
index = ListView_InsertItem(hwndLV, &item);
if (index != -1) {
/* LPTSTR pszText = NULL; */
LPCTSTR pszText = _T("(cannot display value)");
LPTSTR pszText = _T("(cannot display value)");
switch (dwValType) {
case REG_SZ:
case REG_EXPAND_SZ: