Fix Windows startup error

This commit is contained in:
Simon Kornblith 2011-08-24 06:07:48 +00:00
parent b3cf130821
commit 1a86279e5d

View file

@ -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);