зеркало из https://github.com/mozilla/gecko-dev.git
fix for #90742
when using search or filters, messages with priority of "none" should behave like messages with priority of "normal". r & sr=bienvenu
This commit is contained in:
Родитель
897cc62fcc
Коммит
1d72a3ca66
|
@ -1130,7 +1130,7 @@ nsMsgSearchTerm::MatchPriority (nsMsgPriorityValue priorityToMatch,
|
|||
|
||||
// Use this ugly little hack to get around the fact that enums don't have
|
||||
// integer compare operators
|
||||
int p1 = (int) priorityToMatch;
|
||||
int p1 = (priorityToMatch == nsMsgPriority::none) ? (int) nsMsgPriority::normal : (int) priorityToMatch;
|
||||
int p2 = (int) m_value.u.priority;
|
||||
|
||||
switch (m_operator)
|
||||
|
|
Загрузка…
Ссылка в новой задаче