Commit 89ed90f3 authored by Mikołaj Zalewski's avatar Mikołaj Zalewski Committed by Alexandre Julliard

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

parent d6cb3e8b
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment