diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-01-16 15:00:09 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-01-16 15:00:09 +0100 |
| commit | d58c355d2fff2cf78af1ac1cdd4a6299b16aba43 (patch) | |
| tree | 8fff7afedfac05a5d578317a3f49def1f15f4d05 /vis-cmds.c | |
| parent | d866258cdb765ab0b377d4bc3f7c447f184e1dab (diff) | |
| download | vis-d58c355d2fff2cf78af1ac1cdd4a6299b16aba43.tar.gz vis-d58c355d2fff2cf78af1ac1cdd4a6299b16aba43.tar.xz | |
vis: move selected prompt entry to end of the file
Close #70
Diffstat (limited to 'vis-cmds.c')
| -rw-r--r-- | vis-cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1158,7 +1158,7 @@ bool vis_cmd(Vis *vis, const char *cmdline) { char *s = param; const char *argv[32] = { name }; for (int i = 1; i < LENGTH(argv); i++) { - while (s && *s && *s == ' ') + while (s && isspace((unsigned char)*s)) s++; if (s && !*s) s = NULL; |
