aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
authorSilvan Jegen <s.jegen@gmail.com>2015-05-05 18:24:35 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-05-06 20:38:00 +0200
commit87c01a74d507885346dc89bfc103870903e56b64 (patch)
tree8058c10b5e99cf907adb1eae57cff89d646d459f /vis.c
parent2c84ecfe7686bbbe7b57c7ddc0da39ed8c776de1 (diff)
downloadvis-87c01a74d507885346dc89bfc103870903e56b64.tar.gz
vis-87c01a74d507885346dc89bfc103870903e56b64.tar.xz
Use the command name without the Filerange in argv
Signed-off-by: Silvan Jegen <s.jegen@gmail.com>
Diffstat (limited to 'vis.c')
-rw-r--r--vis.c2
1 files changed, 1 insertions, 1 deletions
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++;