summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets
diff options
context:
space:
mode:
authorFelipe Heidrich <fheidric>2010-02-10 15:40:52 +0000
committerFelipe Heidrich <fheidric>2010-02-10 15:40:52 +0000
commitffcfa7dff5674e449c5b46be26e9a37d0f330443 (patch)
tree03b22cbccd4f701fddfac97ad11ac6e0356949b4 /bundles/org.eclipse.swt/Eclipse SWT Custom Widgets
parentf5fa01681dc18e6f913474e5aca55deedf544dfc (diff)
downloadeclipse.platform.swt-ffcfa7dff5674e449c5b46be26e9a37d0f330443.tar.gz
eclipse.platform.swt-ffcfa7dff5674e449c5b46be26e9a37d0f330443.tar.xz
eclipse.platform.swt-ffcfa7dff5674e449c5b46be26e9a37d0f330443.zip
Bug 301212: on Mac OS only: RTFTransfer does not support german umlaut
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Custom Widgets')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
index 78b081e410..fb96a6974e 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
@@ -792,7 +792,7 @@ public class StyledText extends Canvas {
void write(String string, int start, int end) {
for (int index = start; index < end; index++) {
char ch = string.charAt(index);
- if (ch > 0xFF && WriteUnicode) {
+ if (ch > 0x7F && WriteUnicode) {
// write the sub string from the last escaped character
// to the current one. Fixes bug 21698.
if (index > start) {