Commit in reactos/lib/shell32 on MAIN | |||
dialogs.c | +1 | -1 | 1.13 -> 1.14 |
Call GetProcessHeap() instead of passing it's address
diff -u -r1.13 -r1.14 --- dialogs.c 22 Sep 2004 19:46:52 -0000 1.13 +++ dialogs.c 26 Sep 2004 19:17:21 -0000 1.14 @@ -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)