[dev] [vis][PATCH] Use the command name without the Filerange in argv

From: Silvan Jegen <s.jegen_AT_gmail.com>
Date: Tue, 5 May 2015 18:24:35 +0200

Signed-off-by: Silvan Jegen <s.jegen_AT_gmail.com>
---
 vis.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vis.c b/vis.c
index cf157f7..628f511 100644
--- a/vis.c
+++ b/vis.c
_AT_@ -1782,7 +1782,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++;
-- 
2.3.7
Received on Tue May 05 2015 - 18:24:35 CEST

This archive was generated by hypermail 2.3.0 : Tue May 05 2015 - 18:36:16 CEST