check pointer, even though it shouldn't be necessary

This commit is contained in:
Mark Tiefenbruck 2008-02-03 12:17:42 -08:00
parent b7eee2350d
commit f3e3bb5273

View file

@ -119,7 +119,7 @@ public:
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_))