summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Gayed <ggayed>2007-08-23 17:10:46 +0000
committerGrant Gayed <ggayed>2007-08-23 17:10:46 +0000
commit732ecebd1dc31633663edfca6887384b2c3b9396 (patch)
tree70d81169222ac99d71680a677c25e462f14853c8
parent13589faca447528fa8e118327a68009aab62ec3f (diff)
downloadeclipse.platform.swt-732ecebd1dc31633663edfca6887384b2c3b9396.tar.gz
eclipse.platform.swt-732ecebd1dc31633663edfca6887384b2c3b9396.tar.xz
eclipse.platform.swt-732ecebd1dc31633663edfca6887384b2c3b9396.zip
revert fix for bug 181008
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/AppFileLocProvider.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/AppFileLocProvider.java b/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/AppFileLocProvider.java
index 853935c9fc..52f69f00b2 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/AppFileLocProvider.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/AppFileLocProvider.java
@@ -260,7 +260,9 @@ int getFile(int /*long*/ prop, int /*long*/ persistent, int /*long*/ _retval) {
} else if (propertyName.equals (XPCOM.NS_XPCOM_CURRENT_PROCESS_DIR)) {
propertyValue = mozillaPath;
} else if (propertyName.equals (XPCOM.NS_APP_PREF_DEFAULTS_50_DIR)) {
- propertyValue = profilePath;
+ // the following line is intentionally commented because
+ // it causes problems for Mozilla < 1.7
+ //propertyValue = profilePath;
}
XPCOM.memmove (persistent, new int[] {1}, 4); /* PRBool */