Fix off-by-one bug

This commit is contained in:
Přemysl Eric Janouch 2015-05-28 20:16:55 +02:00
parent bc0a71f082
commit d49fbadd67
1 changed files with 1 additions and 1 deletions

View File

@ -465,7 +465,7 @@ parse_csi (termo_t *tk, size_t introlen, size_t *csi_len,
// parsing DECRPM responses (mode reports). We can work around this
// ambiguity by making use of the fact that rxvt key sequences have
// exactly one numeric argument and no initial byte.
if (c <= '0' || c >= '9')
if (c < '0' || c > '9')
allow_dollar = false;
csi_end++;