Added missing WIN_ReleaseWndPtr.
This commit is contained in:
parent
bc49a36f56
commit
8dde5a4fe4
|
@ -242,8 +242,9 @@ LRESULT WINAPI ButtonWndProc( HWND hWnd, UINT uMsg,
|
|||
return oldHbitmap;
|
||||
|
||||
case BM_GETIMAGE:
|
||||
retvalue = infoPtr->hImage;
|
||||
WIN_ReleaseWndPtr(wndPtr);
|
||||
return infoPtr->hImage;
|
||||
return retvalue;
|
||||
|
||||
case BM_GETCHECK16:
|
||||
case BM_GETCHECK:
|
||||
|
|
|
@ -435,7 +435,7 @@ LRESULT WINAPI EditWndProc( HWND hwnd, UINT msg,
|
|||
/* fall through */
|
||||
case EM_GETMODIFY:
|
||||
DPRINTF_EDIT_MSG32("EM_GETMODIFY");
|
||||
return ((es->flags & EF_MODIFIED) != 0);
|
||||
result = ((es->flags & EF_MODIFIED) != 0);
|
||||
break;
|
||||
|
||||
case EM_SETMODIFY16:
|
||||
|
|
|
@ -1129,9 +1129,10 @@ LRESULT WINAPI MDIClientWndProc( HWND hwnd, UINT message, WPARAM wParam,
|
|||
case WM_SETFOCUS:
|
||||
if( ci->hwndActiveChild )
|
||||
{
|
||||
w = WIN_FindWndPtr( ci->hwndActiveChild );
|
||||
if( !(w->dwStyle & WS_MINIMIZE) )
|
||||
WND* pw = WIN_FindWndPtr( ci->hwndActiveChild );
|
||||
if( !(pw->dwStyle & WS_MINIMIZE) )
|
||||
SetFocus( ci->hwndActiveChild );
|
||||
WIN_ReleaseWndPtr(pw);
|
||||
}
|
||||
retvalue = 0;
|
||||
goto END;
|
||||
|
|
Loading…
Reference in New Issue