mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
refactor: tr_compare_3way() (#5799)
This commit is contained in:
@@ -1503,7 +1503,7 @@ int compareAnnounceTiers(tr_tier const* a, tr_tier const* b)
|
||||
|
||||
// the tiers are effectively equal priority, but add an arbitrary
|
||||
// differentiation because ptrArray sorted mode hates equal items.
|
||||
return a < b ? -1 : 1;
|
||||
return tr_compare_3way(a, b);
|
||||
}
|
||||
|
||||
void tierAnnounce(tr_announcer_impl* announcer, tr_tier* tier)
|
||||
|
||||
Reference in New Issue
Block a user