commit 1a86279e5d4a784e2e0866a1ce0d3350f5113889
parent b3cf130821d8196f34125c306ab9728671a7015c
Author: Simon Kornblith <simon@simonster.com>
Date: Wed, 24 Aug 2011 06:07:48 +0000
Fix Windows startup error
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js
@@ -847,7 +847,7 @@ if(appInfo.platformVersion[0] >= 2) {
if(!defaultSection || !defaultSection.Path) return false;
- if(defaultSection.IsRelative) {
+ if(defaultSection.IsRelative === "1") {
var defaultProfile = prefDir.clone().QueryInterface(Components.interfaces.nsILocalFile);
try {
for each(var dir in defaultSection.Path.split("/")) defaultProfile.append(dir);