From 87c01a74d507885346dc89bfc103870903e56b64 Mon Sep 17 00:00:00 2001 From: Silvan Jegen Date: Tue, 5 May 2015 18:24:35 +0200 Subject: Use the command name without the Filerange in argv Signed-off-by: Silvan Jegen --- vis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vis.c') diff --git a/vis.c b/vis.c index 051f256..690fb2d 100644 --- a/vis.c +++ b/vis.c @@ -1780,7 +1780,7 @@ static bool exec_cmdline_command(const char *cmdline) { } char *s = param; - const char *argv[32] = { line }; + const char *argv[32] = { name }; for (int i = 1; i < LENGTH(argv); i++) { while (s && *s && *s == ' ') s++; -- cgit v1.2.3