From 1a86279e5d4a784e2e0866a1ce0d3350f5113889 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Wed, 24 Aug 2011 06:07:48 +0000 Subject: [PATCH] Fix Windows startup error --- chrome/content/zotero/xpcom/zotero.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 2591c8785a..f77506ff06 100644 --- 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);