aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiraj Modi2014-02-24 08:32:11 (EST)
committerGerrit Code Review @ Eclipse.org2014-02-25 13:32:35 (EST)
commite254eb59e814bdfd8d305bac78f760c94fbf2832 (patch)
treec45fc21be821b26495101c8a1833e8033705394d
parent3846fa7f9f1d765577be939807eb475ff8fa8f64 (diff)
downloadeclipse.platform.swt-e254eb59e814bdfd8d305bac78f760c94fbf2832.zip
eclipse.platform.swt-e254eb59e814bdfd8d305bac78f760c94fbf2832.tar.gz
eclipse.platform.swt-e254eb59e814bdfd8d305bac78f760c94fbf2832.tar.bz2
Bug 424580 - TextLayout does not render line with single tab correctly refs/changes/31/22431/2
Change-Id: I35c511f73474b5c5d0164ba9bed325001fd6c900 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java
index 0896598..1e6639d 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2012 IBM Corporation and others.
+ * Copyright (c) 2000, 2014 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -3276,7 +3276,7 @@ boolean shape (long /*int*/ hdc, StyleItem run, char[] chars, int[] glyphCount,
* Generate glyphs for one Run.
*/
void shape (final long /*int*/ hdc, final StyleItem run) {
- if (run.tab || run.lineBreak) return;
+ if (run.lineBreak) return;
if (run.glyphs != 0) return;
final int[] buffer = new int[1];
final char[] chars = new char[run.length];