From fe711b224e735eaa0be866ddac13d6b26c378fe9 Mon Sep 17 00:00:00 2001 From: Ulrich Czekalla Date: Mon, 16 Aug 2004 20:00:41 +0000 Subject: [PATCH] Bottom of button should be rbox.top + checkBoxHeight. --- controls/button.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controls/button.c b/controls/button.c index 9d600326008..7fda7a85feb 100644 --- a/controls/button.c +++ b/controls/button.c @@ -872,7 +872,7 @@ static void CB_Paint( HWND hwnd, HDC hDC, UINT action ) rbox.bottom = rbox.top + checkBoxHeight; } else { rbox.top -= -delta/2 + 1; - rbox.bottom += rbox.top + checkBoxHeight; + rbox.bottom = rbox.top + checkBoxHeight; } } else if (style & BS_BOTTOM) { if (delta > 0) {