aboutsummaryrefslogtreecommitdiff
path: root/src/Keys.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Keys.cc')
-rw-r--r--src/Keys.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Keys.cc b/src/Keys.cc
index f201e64..637ccbb 100644
--- a/src/Keys.cc
+++ b/src/Keys.cc
@@ -403,9 +403,9 @@ bool Keys::addBinding(const string &linebuffer) {
403 // +[1-9] - number between +1 and +9 403 // +[1-9] - number between +1 and +9
404 // numbers 10 and above 404 // numbers 10 and above
405 // 405 //
406 } else if (!val[argc].empty() && (isdigit(val[argc][0]) && 406 } else if (!val[argc].empty() && ((isdigit(val[argc][0]) &&
407 (isdigit(val[argc][1]) || val[argc][1] == 'x') || 407 (isdigit(val[argc][1]) || val[argc][1] == 'x')) ||
408 val[argc][0] == '+' && isdigit(val[argc][1])) ) { 408 (val[argc][0] == '+' && isdigit(val[argc][1])))) {
409 409
410 key = strtoul(val[argc].c_str(), NULL, 0); 410 key = strtoul(val[argc].c_str(), NULL, 0);
411 type = KeyPress; 411 type = KeyPress;