diff options
Diffstat (limited to 'sam.c')
| -rw-r--r-- | sam.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -378,7 +378,7 @@ static char *parse_cmdname(const char **s) { Buffer buf; buffer_init(&buf); - while (isalpha((unsigned char)**s) || **s == '-') + while (**s && **s != ' ' && (!ispunct((unsigned char)**s) || **s == '-')) buffer_append(&buf, (*s)++, 1); if (buffer_length(&buf)) |
