1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 07:48:00 +01:00

Fix zoom level display for fractional percentages.

This commit is contained in:
Kris Maglione
2011-01-14 23:32:27 -05:00
parent 74ae88b10f
commit 67e2a23c5a
4 changed files with 4 additions and 14 deletions

11
common/bootstrap.js vendored
View File

@@ -31,17 +31,6 @@ function httpGet(url) {
return xmlhttp;
}
function writeFile(file, buf) {
let fstream = Cc["@mozilla.org/network/file-output-stream;1"].createInstance(Ci.nsIFileOutputStream);
let stream = Cc["@mozilla.org/intl/converter-output-stream;1"].createInstance(Ci.nsIConverterOutputStream);
fstream.init(file, 0x02 | 0x08 | 0x20, parseInt("0644", 8), 0);
stream.init(fstream, "UTF-8", 0, "?");
stream.writeString(buf);
stream.close();
fstream.close();
}
let initialized = false;
let addon = null;
let basePath = null;