1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Fix frame number formatting.

This commit is contained in:
Bartosz Taudul
2020-07-12 00:04:05 +02:00
parent 0400967909
commit a7a36c08cb
+1 -1
View File
@@ -2177,7 +2177,7 @@ bool View::DrawZoneFrames( const FrameData& frames )
if( fsz - 7 <= tx )
{
static char tmp[256];
sprintf( tmp, "%i (%s)", i, TimeToString( ftime ) );
sprintf( tmp, "%s (%s)", RealToString( i ), TimeToString( ftime ) );
buf = tmp;
tx = ImGui::CalcTextSize( buf ).x;
}