summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Keys.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Keys.cc b/src/Keys.cc
index 7187c47..7052f55 100644
--- a/src/Keys.cc
+++ b/src/Keys.cc
@@ -119,7 +119,7 @@ public:
119 context_ = context_ ? context_ : GLOBAL; 119 context_ = context_ ? context_ : GLOBAL;
120 keylist_t::iterator it = keylist.begin(), it_end = keylist.end(); 120 keylist_t::iterator it = keylist.begin(), it_end = keylist.end();
121 for (; it != it_end; it++) { 121 for (; it != it_end; it++) {
122 if ((*it)->type == type_ && (*it)->key == key_ && 122 if (*it && (*it)->type == type_ && (*it)->key == key_ &&
123 ((*it)->context & context_) > 0 && 123 ((*it)->context & context_) > 0 &&
124 isdouble_ == (*it)->isdouble && (*it)->mod == 124 isdouble_ == (*it)->isdouble && (*it)->mod ==
125 FbTk::KeyUtil::instance().isolateModifierMask(mod_)) 125 FbTk::KeyUtil::instance().isolateModifierMask(mod_))