Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBilly Biggs2005-01-26 22:25:16 +0000
committerBilly Biggs2005-01-26 22:25:16 +0000
commit0ef68241e0bf12effefbf50f16ac39c371ff4519 (patch)
treea1f0b1ee4ff9039f8c0b10935b3d4c1a0aa550b1 /examples
parent33c787a8a8fa6408a469ea6821b3fb685f60c9ff (diff)
downloadeclipse.platform.swt-0ef68241e0bf12effefbf50f16ac39c371ff4519.tar.gz
eclipse.platform.swt-0ef68241e0bf12effefbf50f16ac39c371ff4519.tar.xz
eclipse.platform.swt-0ef68241e0bf12effefbf50f16ac39c371ff4519.zip
Use SWT.getPlatform() instead of reaching into the internal string.Root_Branch20050201
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/SliderTab.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/SliderTab.java b/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/SliderTab.java
index cf8ecef9db..e38ebfc949 100755
--- a/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/SliderTab.java
+++ b/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/SliderTab.java
@@ -191,7 +191,7 @@ class SliderTab extends RangeTab {
* Gets the text for the tab folder item.
*/
String getTabText () {
- if (org.eclipse.swt.internal.Platform.PLATFORM.equals("carbon")) return "S/S";
+ if (SWT.getPlatform().equals("carbon")) return "S/S";
return "Slider/Scale";
}

Back to the top