summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti <silenio_quarti@ca.ibm.com>2012-05-11 14:57:03 -0400
committerSilenio Quarti <silenio_quarti@ca.ibm.com>2012-05-11 14:57:03 -0400
commit9b9af0488c36ea7f2e043caf2673028ed65899b5 (patch)
tree9f569d2236fe882fb6440e0043c83c909821f37f
parent947d452c5315fc57055c1eb4142da8e6ca27798e (diff)
downloadeclipse.platform.swt-9b9af0488c36ea7f2e043caf2673028ed65899b5.tar.gz
eclipse.platform.swt-9b9af0488c36ea7f2e043caf2673028ed65899b5.tar.xz
eclipse.platform.swt-9b9af0488c36ea7f2e043caf2673028ed65899b5.zip
Bug 377472 - [DBCS4.2] The backslash followed by DBCS character is not same as one followed by sbcs
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java9
1 files changed, 6 insertions, 3 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 41da159a65..7cdd09f166 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
@@ -2612,10 +2612,13 @@ StyleItem[] itemize () {
* performance by reducing the number of SCRIPT_ITEM returned by ScriptItemize.
*
* Note: This code is wrong on a big endian machine.
+ *
+ * Note: This code is intentionally commented because it causes bug#377472.
*/
- if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) {
- scriptControl.fReserved = 0x1;
- }
+// if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) {
+// scriptControl.fReserved = 0x1;
+// }
+
OS.ScriptApplyDigitSubstitution(null, scriptControl, scriptState);
int /*long*/ hHeap = OS.GetProcessHeap();