diff options
author | simonb <simonb> | 2006-08-10 14:55:52 (GMT) |
---|---|---|
committer | simonb <simonb> | 2006-08-10 14:55:52 (GMT) |
commit | 66e738da77ff640f437e8b88de15bdf6678fa0f6 (patch) | |
tree | e15b7425b63ded3a6be124d53faeacff8e3cccb8 /src/ClientPattern.cc | |
parent | 839cc974c15381de184f7f6c51821784709ef99d (diff) | |
download | fluxbox-66e738da77ff640f437e8b88de15bdf6678fa0f6.zip fluxbox-66e738da77ff640f437e8b88de15bdf6678fa0f6.tar.bz2 |
fix crash in ClientPattern
Diffstat (limited to 'src/ClientPattern.cc')
-rw-r--r-- | src/ClientPattern.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClientPattern.cc b/src/ClientPattern.cc index d9469fa..0016ea7 100644 --- a/src/ClientPattern.cc +++ b/src/ClientPattern.cc | |||
@@ -264,7 +264,7 @@ bool ClientPattern::equals(const ClientPattern &pat) const { | |||
264 | Terms::const_iterator it_end = m_terms.end(); | 264 | Terms::const_iterator it_end = m_terms.end(); |
265 | Terms::const_iterator other_it = pat.m_terms.begin(); | 265 | Terms::const_iterator other_it = pat.m_terms.begin(); |
266 | Terms::const_iterator other_it_end = pat.m_terms.end(); | 266 | Terms::const_iterator other_it_end = pat.m_terms.end(); |
267 | for (; it != it_end, other_it != other_it_end; ++it, ++other_it) { | 267 | for (; it != it_end && other_it != other_it_end; ++it, ++other_it) { |
268 | if ((*it)->orig != (*other_it)->orig) | 268 | if ((*it)->orig != (*other_it)->orig) |
269 | return false; | 269 | return false; |
270 | } | 270 | } |