[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser/tor-browser-38.5.0esr-5.5-2] fixup! Bug 16940: After update, load local change notes.



commit a46acd14e1bacdc0e3c68a29ee203ce37bd6c9a7
Author: Kathy Brade <brade@xxxxxxxxxxxxxxxxx>
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);

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits