diff --git a/server/TracyView.cpp b/server/TracyView.cpp index f8750b71..1a9c8cfd 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -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; } }