Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2010-02-26 07:21:49 -0500
committerAndrew Niefer2010-02-26 07:21:49 -0500
commitcc98874756ba396681dceed970c76501c01e49f2 (patch)
tree91e15800c5f6cf5c3654ec66b5a73a3d45bba2ab
parent48169e6c57d3154f0bca66b3e11fd268a6c2ad3e (diff)
downloadrt.equinox.framework-cc98874756ba396681dceed970c76501c01e49f2.tar.gz
rt.equinox.framework-cc98874756ba396681dceed970c76501c01e49f2.tar.xz
rt.equinox.framework-cc98874756ba396681dceed970c76501c01e49f2.zip
bug 303907 - Update the deault WS on Mac to be Cocoa
-rw-r--r--bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
index 13a084af6..b092e5380 100644
--- a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
+++ b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
@@ -321,8 +321,8 @@ public class Main {
private String getAlternateWS(String defaultWS) {
// We'll have already tried the default, so we only need to map
// in one direction. (default -> alternate)
- if (Constants.WS_CARBON.equals(defaultWS))
- return Constants.WS_COCOA;
+ if (Constants.WS_COCOA.equals(defaultWS))
+ return Constants.WS_CARBON;
if (Constants.WS_GTK.equals(defaultWS))
return Constants.WS_MOTIF;
if (Constants.WS_WIN32.equals(defaultWS))

Back to the top