check pointer, even though it shouldn't be necessary
This commit is contained in:
parent
b7eee2350d
commit
f3e3bb5273
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ public:
|
||||||
context_ = context_ ? context_ : GLOBAL;
|
context_ = context_ ? context_ : GLOBAL;
|
||||||
keylist_t::iterator it = keylist.begin(), it_end = keylist.end();
|
keylist_t::iterator it = keylist.begin(), it_end = keylist.end();
|
||||||
for (; it != it_end; it++) {
|
for (; it != it_end; it++) {
|
||||||
if ((*it)->type == type_ && (*it)->key == key_ &&
|
if (*it && (*it)->type == type_ && (*it)->key == key_ &&
|
||||||
((*it)->context & context_) > 0 &&
|
((*it)->context & context_) > 0 &&
|
||||||
isdouble_ == (*it)->isdouble && (*it)->mod ==
|
isdouble_ == (*it)->isdouble && (*it)->mod ==
|
||||||
FbTk::KeyUtil::instance().isolateModifierMask(mod_))
|
FbTk::KeyUtil::instance().isolateModifierMask(mod_))
|
||||||
|
|
Loading…
Reference in a new issue