mirror of
https://github.com/wolfpld/tracy
synced 2025-05-01 13:13:53 +00:00
Fix string handling.
This commit is contained in:
parent
0f72461c3e
commit
907da3265d
@ -16,7 +16,7 @@ namespace tracy
|
|||||||
{
|
{
|
||||||
const auto tw = ImGui::CalcTextSize( text ).x;
|
const auto tw = ImGui::CalcTextSize( text ).x;
|
||||||
ImGui::SetCursorPosX( ( ImGui::GetWindowWidth() - tw ) * 0.5f );
|
ImGui::SetCursorPosX( ( ImGui::GetWindowWidth() - tw ) * 0.5f );
|
||||||
ImGui::Text( text );
|
ImGui::Text( "%s", text );
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user