fix BestIntervalDialog

The small test file doesn't catch this bug, but just about
any real file does.  Grrr.
This commit is contained in:
Sean Rhea
2010-01-19 10:55:09 -08:00
parent fdc7e0b2a9
commit cc441cc98a

View File

@@ -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;
}