diff options
author | Bartosz Taudul <wolf.pld@gmail.com> | 2018-08-31 21:08:04 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf.pld@gmail.com> | 2018-08-31 21:08:04 +0300 |
commit | 907da3265d7a38152cc317209303638774d2342d (patch) | |
tree | 6a25500cd4247568bd7e2bd44f68c2ec01bd3f06 /server/TracyImGui.hpp | |
parent | 0f72461c3eb7980fc6f449f1947c6eee4aff6d17 (diff) |
Fix string handling.
Diffstat (limited to 'server/TracyImGui.hpp')
-rw-r--r-- | server/TracyImGui.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/TracyImGui.hpp b/server/TracyImGui.hpp index 703eb905..385e9155 100644 --- a/server/TracyImGui.hpp +++ b/server/TracyImGui.hpp @@ -16,7 +16,7 @@ namespace tracy { const auto tw = ImGui::CalcTextSize( text ).x; ImGui::SetCursorPosX( ( ImGui::GetWindowWidth() - tw ) * 0.5f ); - ImGui::Text( text ); + ImGui::Text( "%s", text ); } } |