1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 23:58:00 +01:00

another attempt to fix getcwd on windows

This commit is contained in:
Martin Stubenschrott
2007-12-13 13:50:55 +00:00
parent 24adb1bb92
commit aaa317b143

View File

@@ -98,7 +98,7 @@ vimperator.IO = function () //{{{
var file = Components.classes["@mozilla.org/file/local;1"].
createInstance(Components.interfaces.nsILocalFile);
var dirs = [cwd, "$PWD", "~"];
var dirs = WINDOWS ? [cwd, "~"] : [cwd, "$PWD", "~"];
for (var i = 0; i < dirs.length; i++)
{
if (!dirs[i])