Somewhat more resilient File.expandPath and File#init. Fixes Pentadactyl on wine.

This commit is contained in:
Kris Maglione committed 2010-09-21 09:02:55 -04:00
1 parent 46673bfc76
commit 21a510588c
2 files changed
+19 -12

No files matched your search

+1 -1
View File
@@ -912,9 +912,9 @@ const Commands = Module("commands", {
}
// dynamically get completions as specified with the command's completer function
context.highlight();
let command = cmd && commands.get(cmd);
if (!command) {
context.highlight();
context.highlight(0, cmd && cmd.length, "SPELLCHECK");
return;
}