Bug 540252 - WARNING: goofy tree selection state: two ranges are adjacent!: 'endFirstRange == startRange'. Fix flipped equality condition. r+sr=Standard8
This commit is contained in:
Родитель
ecadbfe75c
Коммит
7e8b576520
|
@ -6783,8 +6783,8 @@ nsMsgDBView::GetMsgToSelectAfterDelete(nsMsgViewIndex *msgToSelectAfterDelete)
|
||||||
// If the tree selection is goofy (eg adjacent or overlapping ranges),
|
// If the tree selection is goofy (eg adjacent or overlapping ranges),
|
||||||
// complain about it, but don't try and cope. Just live with the fact
|
// complain about it, but don't try and cope. Just live with the fact
|
||||||
// that one of the deleted messages is going to end up selected.
|
// that one of the deleted messages is going to end up selected.
|
||||||
NS_WARN_IF_FALSE(endFirstRange == startRange,
|
NS_WARN_IF_FALSE(endFirstRange != startRange,
|
||||||
"goofy tree selection state: two ranges are adjacent!");
|
"goofy tree selection state: two ranges are adjacent!");
|
||||||
}
|
}
|
||||||
*msgToSelectAfterDelete = NS_MIN(*msgToSelectAfterDelete,
|
*msgToSelectAfterDelete = NS_MIN(*msgToSelectAfterDelete,
|
||||||
(nsMsgViewIndex)startRange);
|
(nsMsgViewIndex)startRange);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче