From 096022a71842528ba41d51d4b089b9a25935676a Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 6 Jan 2019 21:15:26 +0100 Subject: [PATCH] Proper string printing. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 62a7dd7a..d71247e5 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -696,7 +696,7 @@ bool View::DrawImpl() { m_notificationTime -= io.DeltaTime; ImGui::SameLine(); - ImGui::TextDisabled( m_notificationText.c_str() ); + ImGui::TextDisabled( "%s", m_notificationText.c_str() ); } DrawFrames(); DrawZones();