summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsimonb <simonb>2006-08-10 14:55:52 (GMT)
committersimonb <simonb>2006-08-10 14:55:52 (GMT)
commit66e738da77ff640f437e8b88de15bdf6678fa0f6 (patch)
treee15b7425b63ded3a6be124d53faeacff8e3cccb8 /src
parent839cc974c15381de184f7f6c51821784709ef99d (diff)
downloadfluxbox_lack-66e738da77ff640f437e8b88de15bdf6678fa0f6.zip
fluxbox_lack-66e738da77ff640f437e8b88de15bdf6678fa0f6.tar.bz2
fix crash in ClientPattern
Diffstat (limited to 'src')
-rw-r--r--src/ClientPattern.cc2
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 }