From ab7abb14bd2a62c094c83b69c55ba647f336821b Mon Sep 17 00:00:00 2001 From: Ulrich Weigand <weigand@informatik.uni-erlangen.de> Date: Mon, 17 May 1999 14:53:21 +0000 Subject: [PATCH] Removed superfluous WIN_ReleaseWndPtr. --- controls/button.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/controls/button.c b/controls/button.c index d6ee7ad6861..5f037300a21 100644 --- a/controls/button.c +++ b/controls/button.c @@ -116,10 +116,7 @@ static inline LRESULT WINAPI ButtonWndProc_locked(WND* wndPtr, UINT uMsg, checkBoxHeight = bmp.bmHeight / 3; } if (style < 0L || style >= MAX_BTN_TYPE) - { - WIN_ReleaseWndPtr(wndPtr); return -1; /* abort */ - } infoPtr->state = BUTTON_UNCHECKED; infoPtr->hFont = 0; infoPtr->hImage = NULL; -- GitLab