mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
Call GetProcessHeap() instead of passing it's address
svn path=/trunk/; revision=11079
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user