aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-02-03 20:17:42 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-02-03 20:17:42 (GMT)
commitf3e3bb52734290d58deb2871831ad0889f14a354 (patch)
tree9368485eae6db9e6e54772888128bfc7e3a46ff0
parentb7eee2350d5179e7a54aec047223aa1422581447 (diff)
downloadfluxbox-f3e3bb52734290d58deb2871831ad0889f14a354.zip
fluxbox-f3e3bb52734290d58deb2871831ad0889f14a354.tar.bz2
check pointer, even though it shouldn't be necessary
-rw-r--r--src/Keys.cc2
1 files changed, 1 insertions, 1 deletions
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:
119 context_ = context_ ? context_ : GLOBAL; 119 context_ = context_ ? context_ : GLOBAL;
120 keylist_t::iterator it = keylist.begin(), it_end = keylist.end(); 120 keylist_t::iterator it = keylist.begin(), it_end = keylist.end();
121 for (; it != it_end; it++) { 121 for (; it != it_end; it++) {
122 if ((*it)->type == type_ && (*it)->key == key_ && 122 if (*it && (*it)->type == type_ && (*it)->key == key_ &&
123 ((*it)->context & context_) > 0 && 123 ((*it)->context & context_) > 0 &&
124 isdouble_ == (*it)->isdouble && (*it)->mod == 124 isdouble_ == (*it)->isdouble && (*it)->mod ==
125 FbTk::KeyUtil::instance().isolateModifierMask(mod_)) 125 FbTk::KeyUtil::instance().isolateModifierMask(mod_))