From 8a39fbcb46cfd674bf087f07ff88cf7c36f4df52 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Mon, 22 Sep 2008 11:22:32 +0000 Subject: [PATCH] minor refactoring of :mkv's filename generation --- content/io.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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)