Commit 8dde5a4f authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

Added missing WIN_ReleaseWndPtr.

parent bc49a36f
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment