diff options
-rw-r--r-- | cgram/cgram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cgram/cgram.c b/cgram/cgram.c index 7eaf592d..98f8bece 100644 --- a/cgram/cgram.c +++ b/cgram/cgram.c @@ -325,7 +325,7 @@ loop(void) done = true; break; default: - if (isalpha(ch)) { + if (isascii(ch) && isalpha(ch)) { if (substitute(ch)) { if (curx < strlen(lines.v[cury])) { curx++; |