Module: wine Branch: refs/heads/master Commit: 89ed90f3e566710d7f6aa42860f895cd16b17a54 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=89ed90f3e566710d7f6aa428...
Author: Mikołaj Zalewski mikolaj@zalewski.pl Date: Mon Apr 17 16:59:25 2006 +0200
shell32: Use LVCOLUMW instead of LVCOLUMNA in LVM_INSERTCOLUMNW listview message.
---
dlls/shell32/shlview.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/shell32/shlview.c b/dlls/shell32/shlview.c index 7364f42..46a1168 100644 --- a/dlls/shell32/shlview.c +++ b/dlls/shell32/shlview.c @@ -366,10 +366,10 @@ static BOOL ShellView_CreateList (IShell */ 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(IShellVie 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); } }