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

use parseArgs for 'editor' option

This commit is contained in:
Martin Stubenschrott
2008-07-09 21:03:11 +00:00
parent 10132f0c64
commit 182a78ef07
4 changed files with 8 additions and 5 deletions

View File

@@ -748,7 +748,7 @@ liberator.Editor = function () //{{{
return false;
var editor = liberator.options["editor"];
var args = editor.split(" ");
var args = liberator.commands.parseArgs(editor, [], "*", true).arguments;
if (args.length < 1)
{
liberator.echoerr("no editor specified");