1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-01 05:03:53 +00:00

Fix frame number formatting.

This commit is contained in:
Bartosz Taudul 2020-07-12 00:04:05 +02:00
parent 0400967909
commit a7a36c08cb

View File

@ -2177,7 +2177,7 @@ bool View::DrawZoneFrames( const FrameData& frames )
if( fsz - 7 <= tx ) if( fsz - 7 <= tx )
{ {
static char tmp[256]; static char tmp[256];
sprintf( tmp, "%i (%s)", i, TimeToString( ftime ) ); sprintf( tmp, "%s (%s)", RealToString( i ), TimeToString( ftime ) );
buf = tmp; buf = tmp;
tx = ImGui::CalcTextSize( buf ).x; tx = ImGui::CalcTextSize( buf ).x;
} }