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

Fix minor completion bug.

This commit is contained in:
Kris Maglione
2010-12-28 19:22:32 -05:00
parent 80968ef92f
commit f330440138

View File

@@ -887,7 +887,7 @@ var Commands = Module("commands", {
arg = opt.type.parse(arg, quoted);
if (complete && isArray(arg)) {
args.completeFilter = arg[arg.length - 1];
args.completeFilter = arg[arg.length - 1] || "";
args.completeStart += orig.length - args.completeFilter.length;
}