GetFileName31W should call unicode version of FD31_AllocPrivate.

This commit is contained in:
Ulrich Czekalla 2005-01-14 16:49:55 +00:00 committed by Alexandre Julliard
parent f44d0692f1
commit 24f804528e
1 changed files with 1 additions and 1 deletions

View File

@ -3667,7 +3667,7 @@ static BOOL GetFileName31W(LPOPENFILENAMEW lpofn, /* addess of structure with da
if (!lpofn || !FD31_Init()) return FALSE; if (!lpofn || !FD31_Init()) return FALSE;
FD32_SetupCallbacks(&callbacks); FD32_SetupCallbacks(&callbacks);
lfs = FD31_AllocPrivate((LPARAM) lpofn, dlgType, &callbacks, (DWORD) FALSE); lfs = FD31_AllocPrivate((LPARAM) lpofn, dlgType, &callbacks, (DWORD) TRUE);
if (lfs) if (lfs)
{ {
hInst = (HINSTANCE)GetWindowLongPtrW( lpofn->hwndOwner, GWLP_HINSTANCE ); hInst = (HINSTANCE)GetWindowLongPtrW( lpofn->hwndOwner, GWLP_HINSTANCE );