From d49fbadd67929877416f82cd4751c62efe53b85f Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Thu, 28 May 2015 20:16:55 +0200
Subject: Fix off-by-one bug
---
driver-csi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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++;
--
cgit v1.2.3-70-g09d2