diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 3facd0cf..0ed669fc 100755 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -1116,7 +1116,7 @@ int View::DrawZoneLevel( const Vector& vec, bool hover, double pxns, con auto& srcloc = GetSourceLocation( ev.srcloc ); const auto color = srcloc.color != 0 ? ( srcloc.color | 0xFF000000 ) : 0xDDDD6666; const auto end = GetZoneEnd( ev ); - const auto zsz = ( ev.end - ev.start ) * pxns; + const auto zsz = ( end - ev.start ) * pxns; if( zsz < MinVisSize ) { int num = 1;