From b53743a0bde0bb268ed9de951eee883e9f924c4c Mon Sep 17 00:00:00 2001 From: Silenio Quarti Date: Wed, 1 Aug 2012 09:42:56 -0400 Subject: fix formatting --- .../Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java index 3b3b35542e..6cc5df8fbc 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java @@ -493,11 +493,11 @@ int /*long*/ gtk_focus_in_event (int /*long*/ widget, int /*long*/ event) { // widget could be disposed at this point if (handle == 0) return 0; if (OS.GTK_VERSION >= OS.VERSION (2, 18, 0)) { - if ((style & SWT.PUSH) != 0 && OS.gtk_widget_has_default(handle)) { + if ((style & SWT.PUSH) != 0 && OS.gtk_widget_has_default (handle)) { Decorations menuShell = menuShell (); menuShell.defaultButton = this; } - }else{ + } else { if ((style & SWT.PUSH) != 0 && OS.GTK_WIDGET_HAS_DEFAULT (handle)) { Decorations menuShell = menuShell (); menuShell.defaultButton = this; -- cgit