projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6375fca
)
Call GetProcessHeap() instead of passing it's address
author
Gé van Geldorp
<ge@gse.nl>
Sun, 26 Sep 2004 19:17:21 +0000
(19:17 +0000)
committer
Gé van Geldorp
<ge@gse.nl>
Sun, 26 Sep 2004 19:17:21 +0000
(19:17 +0000)
svn path=/trunk/; revision=11079
reactos/lib/shell32/dialogs.c
patch
|
blob
|
history
diff --git
a/reactos/lib/shell32/dialogs.c
b/reactos/lib/shell32/dialogs.c
index
9fb6992
..
522e005
100644
(file)
--- a/
reactos/lib/shell32/dialogs.c
+++ b/
reactos/lib/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)