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:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user