all repos — fluxbox @ f3e3bb52734290d58deb2871831ad0889f14a354

custom fork of the fluxbox windowmanager

check pointer, even though it shouldn't be necessary
Mark Tiefenbruck mark@fluxbox.org
commit

f3e3bb52734290d58deb2871831ad0889f14a354

parent

b7eee2350d5179e7a54aec047223aa1422581447

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/Keys.ccsrc/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_))