diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 66c27b1e..4af6f290 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -6483,13 +6483,14 @@ void View::DrawCallstackWindow() } else { - for( uint8_t f=0; fsize; f++ ) + const auto fsz = frameData->size; + for( uint8_t f=0; fdata[f]; bidx++; ImGui::Separator(); - if( f == 0 ) + if( f == fsz-1 ) { ImGui::Text( "%i", fidx++ ); }