Fix total time in find zone, if limit range is enabled.

This commit is contained in:
Bartosz Taudul 2021-09-28 01:11:22 +02:00
parent 9cb54982cb
commit b7a27d02af
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -10109,7 +10109,8 @@ void View::DrawFindZone()
{
tmin = *sortedBegin;
tmax = *(sortedEnd-1);
total = tmax - tmin;
total = 0;
for( auto ptr = sortedBegin; ptr != sortedEnd; ptr++ ) total += *ptr;
}
}