diff --git a/src/sdl-instead/graphics.c b/src/sdl-instead/graphics.c index a4c0fff..64ce332 100644 --- a/src/sdl-instead/graphics.c +++ b/src/sdl-instead/graphics.c @@ -1536,6 +1536,7 @@ static int is_delim(int c) case ':': case '!': case '+': + case '-': case '?': case '/': return 1; @@ -1567,7 +1568,7 @@ static const char *lookup_token_or_sp(const char *ptr) char *eptr; const char *p = ptr; while (*p) { - p += strcspn(p, " .,:!+?/<\t\n"); + p += strcspn(p, " .,:!+-?/<\t\n"); if (*p != '<' ) { while (is_delim(*p)) p ++;