diff options
| author | Silenio Quarti | 2012-05-11 18:57:03 +0000 |
|---|---|---|
| committer | Silenio Quarti | 2012-05-11 18:58:26 +0000 |
| commit | 056eda3eff8f23b926412615a473842453c1329f (patch) | |
| tree | c1249377bd4ea4c8a03ecb224baf732576be5bec | |
| parent | 580fa31cd6a4d73fa554a8c0a11e133ede4ad270 (diff) | |
| download | eclipse.platform.swt-056eda3eff8f23b926412615a473842453c1329f.tar.gz eclipse.platform.swt-056eda3eff8f23b926412615a473842453c1329f.tar.xz eclipse.platform.swt-056eda3eff8f23b926412615a473842453c1329f.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.java | 9 |
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(); |
