diff options
author | markt <markt> | 2007-12-02 03:11:28 (GMT) |
---|---|---|
committer | markt <markt> | 2007-12-02 03:11:28 (GMT) |
commit | d29a3ec59026860530a61e88132e43c4e25ad7e5 (patch) | |
tree | fb816a27bbfff7e996905d2e5487f7a9794b1d56 /src | |
parent | e30f235daf6993631a0a3ec32cce1e16ec791441 (diff) | |
download | fluxbox-d29a3ec59026860530a61e88132e43c4e25ad7e5.zip fluxbox-d29a3ec59026860530a61e88132e43c4e25ad7e5.tar.bz2 |
make sure subj != 0 in IconbarTool::update()
Diffstat (limited to 'src')
-rw-r--r-- | src/IconbarTool.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc index 1a4e87c..625d358 100644 --- a/src/IconbarTool.cc +++ b/src/IconbarTool.cc | |||
@@ -411,7 +411,7 @@ void IconbarTool::update(FbTk::Subject *subj) { | |||
411 | // lock graphic update | 411 | // lock graphic update |
412 | m_icon_container.setUpdateLock(true); | 412 | m_icon_container.setUpdateLock(true); |
413 | 413 | ||
414 | if (typeid(*subj) == typeid(FocusableList::FocusableListSubject)) { | 414 | if (subj && typeid(*subj) == typeid(FocusableList::FocusableListSubject)) { |
415 | FocusableList::FocusableListSubject *fsubj = | 415 | FocusableList::FocusableListSubject *fsubj = |
416 | static_cast<FocusableList::FocusableListSubject *>(subj); | 416 | static_cast<FocusableList::FocusableListSubject *>(subj); |
417 | if (subj == &m_winlist->addSig()) | 417 | if (subj == &m_winlist->addSig()) |