shell32: Use LVCOLUMW instead of LVCOLUMNA in LVM_INSERTCOLUMNW listview message.

This commit is contained in:
Mikołaj Zalewski 2006-04-17 16:59:25 +02:00 committed by Alexandre Julliard
parent d6cb3e8b98
commit 89ed90f3e5
1 changed files with 3 additions and 3 deletions

View File

@ -366,10 +366,10 @@ static BOOL ShellView_CreateList (IShellViewImpl * This)
*/
static BOOL ShellView_InitList(IShellViewImpl * This)
{
LVCOLUMNA lvColumn;
LVCOLUMNW lvColumn;
SHELLDETAILS sd;
int i;
char szTemp[50];
WCHAR szTemp[50];
TRACE("%p\n",This);
@ -386,7 +386,7 @@ static BOOL ShellView_InitList(IShellViewImpl * This)
break;
lvColumn.fmt = sd.fmt;
lvColumn.cx = sd.cxChar*8; /* chars->pixel */
StrRetToStrNA( szTemp, 50, &sd.str, NULL);
StrRetToStrNW( szTemp, 50, &sd.str, NULL);
SendMessageW(This->hWndList, LVM_INSERTCOLUMNW, i, (LPARAM) &lvColumn);
}
}