From f3e3bb52734290d58deb2871831ad0889f14a354 Mon Sep 17 00:00:00 2001 From: Mark Tiefenbruck Date: Sun, 3 Feb 2008 12:17:42 -0800 Subject: check pointer, even though it shouldn't be necessary --- src/Keys.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: 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_)) -- cgit v0.11.2