Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf.pld@gmail.com>2018-08-31 21:08:04 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2018-08-31 21:08:04 +0300
commit907da3265d7a38152cc317209303638774d2342d (patch)
tree6a25500cd4247568bd7e2bd44f68c2ec01bd3f06 /server/TracyImGui.hpp
parent0f72461c3eb7980fc6f449f1947c6eee4aff6d17 (diff)
Fix string handling.
Diffstat (limited to 'server/TracyImGui.hpp')
-rw-r--r--server/TracyImGui.hpp2
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 );
}
}