Removed superfluous WIN_ReleaseWndPtr.

This commit is contained in:
Ulrich Weigand 1999-05-17 14:53:21 +00:00 committed by Alexandre Julliard
parent 66f2aac4e3
commit ab7abb14bd
1 changed files with 0 additions and 3 deletions

View File

@ -116,10 +116,7 @@ static inline LRESULT WINAPI ButtonWndProc_locked(WND* wndPtr, UINT uMsg,
checkBoxHeight = bmp.bmHeight / 3; checkBoxHeight = bmp.bmHeight / 3;
} }
if (style < 0L || style >= MAX_BTN_TYPE) if (style < 0L || style >= MAX_BTN_TYPE)
{
WIN_ReleaseWndPtr(wndPtr);
return -1; /* abort */ return -1; /* abort */
}
infoPtr->state = BUTTON_UNCHECKED; infoPtr->state = BUTTON_UNCHECKED;
infoPtr->hFont = 0; infoPtr->hFont = 0;
infoPtr->hImage = NULL; infoPtr->hImage = NULL;