commdlg/filedlg.c

Ulrich Czekalla ulrich.czekalla at utoronto.ca
Fri Jan 14 09:17:18 CST 2005


ChangeLog:
        Ulrich Czekalla <ulrich at codeweavers.com>
        GetFileName31W should call unicode version of FD31_AllocPrivate
-------------- next part --------------
Index: dlls/commdlg/filedlg.c
===================================================================
RCS file: /home/wine/wine/dlls/commdlg/filedlg.c,v
retrieving revision 1.94
diff -u -p -r1.94 filedlg.c
--- dlls/commdlg/filedlg.c	10 Jan 2005 13:22:35 -0000	1.94
+++ dlls/commdlg/filedlg.c	14 Jan 2005 15:10:36 -0000
@@ -3667,7 +3667,7 @@ static BOOL GetFileName31W(LPOPENFILENAM
     if (!lpofn || !FD31_Init()) return FALSE;
 
     FD32_SetupCallbacks(&callbacks);
-    lfs = FD31_AllocPrivate((LPARAM) lpofn, dlgType, &callbacks, (DWORD) FALSE);
+    lfs = FD31_AllocPrivate((LPARAM) lpofn, dlgType, &callbacks, (DWORD) TRUE);
     if (lfs)
     {
         hInst = (HINSTANCE)GetWindowLongPtrW( lpofn->hwndOwner, GWLP_HINSTANCE );


More information about the wine-patches mailing list