[tbb-commits] [tor-browser/tor-browser-38.5.0esr-5.5-2] fixup! Bug 16940: After update, load local change notes.
gk at torproject.org
gk at torproject.org
Sat Jan 16 10:17:45 UTC 2016
commit a46acd14e1bacdc0e3c68a29ee203ce37bd6c9a7
Author: Kathy Brade <brade at pearlcrescent.com>
Date: Fri Jan 15 09:16:15 2016 -0500
fixup! Bug 16940: After update, load local change notes.
Fix path separator problem on Windows. This fixes bug 18064.
---
browser/base/content/content.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/browser/base/content/content.js b/browser/base/content/content.js
index fd87352..d1afdb9 100644
--- a/browser/base/content/content.js
+++ b/browser/base/content/content.js
@@ -606,7 +606,8 @@ let AboutTBUpdateListener = {
let f = Cc["@mozilla.org/file/directory_service;1"]
.getService(Ci.nsIProperties).get("DefProfRt", Ci.nsIFile);
f = f.parent.parent; // Remove "Data/Browser"
- f.appendRelativePath("Docs/ChangeLog.txt");
+ f.append("Docs");
+ f.append("ChangeLog.txt");
let fs = Cc["@mozilla.org/network/file-input-stream;1"]
.createInstance(Ci.nsIFileInputStream);
More information about the tbb-commits
mailing list