mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 16:54:35 +00:00
Fix total time in find zone, if limit range is enabled.
This commit is contained in:
parent
9cb54982cb
commit
b7a27d02af
@ -10109,7 +10109,8 @@ void View::DrawFindZone()
|
|||||||
{
|
{
|
||||||
tmin = *sortedBegin;
|
tmin = *sortedBegin;
|
||||||
tmax = *(sortedEnd-1);
|
tmax = *(sortedEnd-1);
|
||||||
total = tmax - tmin;
|
total = 0;
|
||||||
|
for( auto ptr = sortedBegin; ptr != sortedEnd; ptr++ ) total += *ptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user