From bc122d5c3d84d8ce52df1860d3591f34a103fa40 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 1 Feb 2026 02:35:26 +0100 Subject: [PATCH] Do not call Glue() in PrintTextExt(). --- profiler/src/profiler/TracyMarkdown.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler/src/profiler/TracyMarkdown.cpp b/profiler/src/profiler/TracyMarkdown.cpp index 721e6564..f052891c 100644 --- a/profiler/src/profiler/TracyMarkdown.cpp +++ b/profiler/src/profiler/TracyMarkdown.cpp @@ -273,6 +273,7 @@ public: font = g_fonts.italic; } ImGui::PushFont( font, FontNormal * FontSizes[header] ); + Glue(); PrintTextExt( text, text + size ); break; } @@ -354,7 +355,6 @@ private: void PrintTextExt( const char* text, const char* end = nullptr, bool popFont = true ) { if( !link.empty() ) ImGui::PushStyleColor( ImGuiCol_Text, ImVec4( 0.55f, 0.55f, 1.f, 1.f ) ); - Glue(); const auto hovered = PrintText( text, end ); if( popFont ) ImGui::PopFont(); if( !link.empty() )