1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-13 14:25:51 +01:00

Some minor cleanup and fixes.

This commit is contained in:
Kris Maglione
2010-12-09 20:46:35 -05:00
parent a0335cb437
commit e339032fd2
7 changed files with 92 additions and 58 deletions

View File

@@ -264,7 +264,7 @@ const File = Class("File", {
if (path instanceof Ci.nsIFile)
file = path.QueryInterface(Ci.nsIFile).clone();
else if (/file:\/\//.test(path))
file = services["File:"]().getFileFromURLSpec(path);
file = services["file:"]().getFileFromURLSpec(path);
else {
try {
let expandedPath = File.expandPath(path);