check pointer, even though it shouldn't be necessary
Mark Tiefenbruck mark@fluxbox.org
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/Keys.cc
→
src/Keys.cc
@@ -119,7 +119,7 @@ // t_key ctor sets context_ of 0 to GLOBAL, so we must here too
context_ = context_ ? context_ : GLOBAL; keylist_t::iterator it = keylist.begin(), it_end = keylist.end(); for (; it != it_end; it++) { - if ((*it)->type == type_ && (*it)->key == key_ && + if (*it && (*it)->type == type_ && (*it)->key == key_ && ((*it)->context & context_) > 0 && isdouble_ == (*it)->isdouble && (*it)->mod == FbTk::KeyUtil::instance().isolateModifierMask(mod_))