dlls/shell32/dialogs.c

Ge van Geldorp gvg at reactos.com
Sun Sep 26 14:38:27 CDT 2004


Changelog:
  Call GetProcessHeap() instead of passing it's address

Index: dlls/shell32/dialogs.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/dialogs.c,v
retrieving revision 1.21
diff -u -r1.21 dialogs.c
--- dlls/shell32/dialogs.c	22 Sep 2004 19:14:45 -0000	1.21
+++ dlls/shell32/dialogs.c	26 Sep 2004 19:31:45 -0000
@@ -142,7 +142,7 @@
                     HWND htxt = NULL ;
                     if ((ic = GetWindowTextLengthA (htxt = GetDlgItem (hwnd, 12298))))
                         {
-                        psz = HeapAlloc( GetProcessHeap, 0, (ic + 2) );
+                        psz = HeapAlloc( GetProcessHeap(), 0, (ic + 2) );
                         GetWindowTextA (htxt, psz, ic + 1) ;
 
                         if (ShellExecuteA(NULL, "open", psz, NULL, NULL, SW_SHOWNORMAL) < (HINSTANCE)33)



More information about the wine-patches mailing list