Bug 527937 - [HiDPI][Win32] Checkbox/Radiobutton: focus-rect cut off

Change-Id: I6a7ce52c9064c899e5329316145f94c38a6c5970
Signed-off-by: Conrad Groth <info@conrad-groth.de>
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Button.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Button.java
index 57a8055..9b9db71 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Button.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Button.java
@@ -1614,7 +1614,7 @@
 							RECT focusRect = new RECT ();
 							if (isRadioOrCheck()) {
 								if (text.length() > 0) {
-									OS.SetRect(focusRect, textRect.left-1, textRect.top, Math.min(nmcd.right, textRect.right+1), textRect.bottom+1);
+									OS.SetRect(focusRect, textRect.left-1, textRect.top, Math.min(nmcd.right, textRect.right+1), Math.min(nmcd.bottom, textRect.bottom+1));
 								} else {
 									/*
 									 * With custom foreground, draw focus rectangle for CheckBox