From 535387aeb1c743a7396df1657b6dcd087ed509d0 Mon Sep 17 00:00:00 2001 From: Ge van Geldorp Date: Mon, 27 Sep 2004 20:34:49 +0000 Subject: [PATCH] Call GetProcessHeap() instead of passing its address. --- dlls/shell32/dialogs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/shell32/dialogs.c b/dlls/shell32/dialogs.c index 9fb699296ab..522e005819d 100644 --- a/dlls/shell32/dialogs.c +++ b/dlls/shell32/dialogs.c @@ -142,7 +142,7 @@ INT_PTR CALLBACK RunDlgProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lPar 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) -- 2.11.4.GIT