From f9a4bc55ccb05cc0dcb849f1ea2eff77757122d8 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 18 Aug 2022 00:35:59 +0200 Subject: [PATCH] Normalize function names in jump popup. --- server/TracySourceView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp index 1a43344b..f89fbac9 100644 --- a/server/TracySourceView.cpp +++ b/server/TracySourceView.cpp @@ -2506,7 +2506,7 @@ uint64_t SourceView::RenderSymbolAsmView( const AddrStatData& as, Worker& worker ImGui::SameLine(); ImGui::PushFont( m_smallFont ); ImGui::AlignTextToFramePadding(); - TextDisabledUnformatted( worker.GetString( symData->name ) ); + TextDisabledUnformatted( ShortenZoneName( ShortenName::OnlyNormalize, worker.GetString( symData->name ) ) ); ImGui::PopFont(); } } @@ -2541,7 +2541,7 @@ uint64_t SourceView::RenderSymbolAsmView( const AddrStatData& as, Worker& worker ImGui::SameLine(); ImGui::PushFont( m_smallFont ); ImGui::AlignTextToFramePadding(); - TextDisabledUnformatted( worker.GetString( symData->name ) ); + TextDisabledUnformatted( ShortenZoneName( ShortenName::OnlyNormalize, worker.GetString( symData->name ) ) ); ImGui::PopFont(); } }