summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java
diff options
context:
space:
mode:
authorGrant Gayed <ggayed>2007-05-22 19:18:59 +0000
committerGrant Gayed <ggayed>2007-05-22 19:18:59 +0000
commit75161cfc75751d6c40fcd6987003dc332379eba1 (patch)
tree2e0700a620cc106a507c98db61c081201274c363 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java
parentcca4053c5f6c19990f4867a81d40131a0100cb49 (diff)
downloadeclipse.platform.swt-75161cfc75751d6c40fcd6987003dc332379eba1.tar.gz
eclipse.platform.swt-75161cfc75751d6c40fcd6987003dc332379eba1.tar.xz
eclipse.platform.swt-75161cfc75751d6c40fcd6987003dc332379eba1.zip
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java2
1 files changed, 1 insertions, 1 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 1aa5265580..a92c8856b1 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
@@ -555,7 +555,7 @@ void _setAlignment (int alignment) {
if ((alignment & (SWT.LEFT | SWT.RIGHT | SWT.CENTER)) == 0) return;
style &= ~(SWT.LEFT | SWT.RIGHT | SWT.CENTER);
style |= alignment & (SWT.LEFT | SWT.RIGHT | SWT.CENTER);
- /* Aligmennt not honoured when image and text are visbible */
+ /* Alignment not honoured when image and text are visible */
boolean bothVisible = OS.GTK_WIDGET_VISIBLE (labelHandle) && OS.GTK_WIDGET_VISIBLE (imageHandle);
if (bothVisible) {
if ((style & (SWT.RADIO | SWT.CHECK)) != 0) alignment = SWT.LEFT;