fix crash in ClientPattern
This commit is contained in:
parent
839cc974c1
commit
66e738da77
2 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
(Format: Year/Month/Day)
|
||||
Changes for 1.0rc3:
|
||||
*06/08/10:
|
||||
* Fix crash in ClientPattern when more than one pattern in [app] line (Simon)
|
||||
ClientPattern.cc
|
||||
* Implement _NET_WM_WINDOW_TYPE_MENU and _NET_WM_WINDOW_TYPE_TOOLBAR (Mark)
|
||||
Ewmh.cc/hh
|
||||
* Fix duplicated UTF-8 encoding in el_GR (thanks Slava Semushin)
|
||||
|
|
|
@ -264,7 +264,7 @@ bool ClientPattern::equals(const ClientPattern &pat) const {
|
|||
Terms::const_iterator it_end = m_terms.end();
|
||||
Terms::const_iterator other_it = pat.m_terms.begin();
|
||||
Terms::const_iterator other_it_end = pat.m_terms.end();
|
||||
for (; it != it_end, other_it != other_it_end; ++it, ++other_it) {
|
||||
for (; it != it_end && other_it != other_it_end; ++it, ++other_it) {
|
||||
if ((*it)->orig != (*other_it)->orig)
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue