mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Use proper string formatting.
This commit is contained in:
parent
a8c752e2ab
commit
11e1671048
@ -12656,7 +12656,7 @@ void View::DrawInfo()
|
||||
pdqsort_branchless( vec.begin(), vec.end(), []( const auto& lhs, const auto& rhs ) { return strcmp( lhs->first, rhs->first ) < 0; } );
|
||||
for( auto& v : vec )
|
||||
{
|
||||
ImGui::BulletText( v->first );
|
||||
ImGui::BulletText( "%s", v->first );
|
||||
if( ImGui::IsItemClicked() ) ViewSource( v->first, 0 );
|
||||
ImGui::SameLine();
|
||||
ImGui::TextDisabled( "(%s)", MemSizeToString( v->second.len ) );
|
||||
|
Loading…
Reference in New Issue
Block a user