diff options
author | MattV <qt-info@nokia.com> | 2009-06-30 16:18:41 +1000 |
---|---|---|
committer | MattV <qt-info@nokia.com> | 2009-06-30 16:18:41 +1000 |
commit | a94f56f04caf86d7952071e08c0cea57883ccf44 (patch) | |
tree | 5b151c5de9651a79e8ce0d70555d7f72e1fe3403 | |
parent | a5c388314ed15043dd329bde069b01b1df6ea0bc (diff) |
Fix AND combination of empty key with standard key.2009W27
-rw-r--r-- | src/libraries/qtopiamail/mailkeyimpl_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libraries/qtopiamail/mailkeyimpl_p.h b/src/libraries/qtopiamail/mailkeyimpl_p.h index cb574a1d..72ebcdd9 100644 --- a/src/libraries/qtopiamail/mailkeyimpl_p.h +++ b/src/libraries/qtopiamail/mailkeyimpl_p.h @@ -181,7 +181,7 @@ Key MailKeyImpl<Key>::andCombine(const Key &self, const Key &other) if (self.isNonMatching()) { return self; } else if (self.isEmpty()) { - return (other.isNonMatching() ? other : self); + return other; } else if (other.isNonMatching()) { return other; } else if (other.isEmpty()) { |