diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-05-28 20:16:55 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-05-28 20:16:55 +0200 |
commit | d49fbadd67929877416f82cd4751c62efe53b85f (patch) | |
tree | cfefccdb92fbf9f6806e575cc4095956ecb9ca4c /driver-csi.c | |
parent | bc0a71f082296cad0ca590889ead558b70fb39d9 (diff) | |
download | termo-d49fbadd67929877416f82cd4751c62efe53b85f.tar.gz termo-d49fbadd67929877416f82cd4751c62efe53b85f.tar.xz termo-d49fbadd67929877416f82cd4751c62efe53b85f.zip |
Fix off-by-one bug
Diffstat (limited to 'driver-csi.c')
-rw-r--r-- | driver-csi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver-csi.c b/driver-csi.c index ded62df..8e84401 100644 --- a/driver-csi.c +++ b/driver-csi.c @@ -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++; |