diff --git a/content/io.js b/content/io.js index 6851ff28..d6a7fb79 100644 --- a/content/io.js +++ b/content/io.js @@ -191,14 +191,9 @@ liberator.IO = function () //{{{ // TODO: "E172: Only one file name allowed" var filename; if (args) - { filename = args; - } else - { - filename = (navigator.platform == "Win32") ? "~/_" : "~/."; - filename += extname + "rc"; - } + filename = "~/" + (WINDOWS ? "_" : ".") + extname + "rc"; var file = liberator.io.getFile(filename); if (file.exists() && !special)