summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Heidrich <fheidric>2007-03-21 22:02:51 +0000
committerFelipe Heidrich <fheidric>2007-03-21 22:02:51 +0000
commit55562b08493045c852732c81950401e1d6b26ca2 (patch)
tree8ac0c8ada6f91f99aee8dbb4f282dba9993c4c4f
parent1216e74b895a4f8e4407e39be3f20d126c4af156 (diff)
downloadeclipse.platform.swt-55562b08493045c852732c81950401e1d6b26ca2.tar.gz
eclipse.platform.swt-55562b08493045c852732c81950401e1d6b26ca2.tar.xz
eclipse.platform.swt-55562b08493045c852732c81950401e1d6b26ca2.zip
*** empty log message ***
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/graphics/TextLayout.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/graphics/TextLayout.java b/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/graphics/TextLayout.java
index a248289714..43c571d7d7 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/graphics/TextLayout.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/graphics/TextLayout.java
@@ -877,7 +877,7 @@ int _getOffset(int offset, int movement, boolean forward) {
switch (movement) {
case SWT.MOVEMENT_CLUSTER:
- return untranslateOffset(newOffset);
+ return untranslateOffset(offset);
case SWT.MOVEMENT_WORD:
case SWT.MOVEMENT_WORD_START: {
if (offset > 0) {