Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/internal/Converter.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/internal/Converter.java b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/internal/Converter.java
index b5b162e045..a44e223d4d 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/internal/Converter.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/internal/Converter.java
@@ -46,12 +46,8 @@ public final class Converter {
static int BufferTimes2;
static int BufferTimes4;
- static {
- if (OS.IsHPUX) {
- Unicode = getAsciiBytes("ucs2");
- } else {
- Unicode = getAsciiBytes("UCS-2");
- }
+ static {
+ Unicode = getAsciiBytes("UCS-2");
int length, item = OS.nl_langinfo (OS.CODESET);
if (item != 0 && (length = OS.strlen (item)) > 0) {

Back to the top