From c433e76c7ae23ca46be86fc8183224322d5ad4dd Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 3 Jun 2019 01:28:45 +0200 Subject: [PATCH] Use TextUnformatted in TextCentered. --- server/TracyImGui.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyImGui.hpp b/server/TracyImGui.hpp index b48be85a..cd497f1b 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( "%s", text ); + ImGui::TextUnformatted( text ); } static inline void DrawWaitingDots( double time )