mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
fix BestIntervalDialog
The small test file doesn't catch this bug, but just about any real file does. Grrr.
This commit is contained in:
@@ -134,7 +134,7 @@ struct CompareBests {
|
||||
const BestIntervalDialog::BestInterval &b) const {
|
||||
if (a.avg > b.avg)
|
||||
return true;
|
||||
if (b.avg < a.avg)
|
||||
if (b.avg > a.avg)
|
||||
return false;
|
||||
return a.start < b.start;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user