Added missing WIN_ReleaseWndPtr.

This commit is contained in:
Eric Pouech 1999-04-25 10:58:04 +00:00 committed by Alexandre Julliard
parent bc49a36f56
commit 8dde5a4fe4
3 changed files with 6 additions and 4 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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;