From d62f7d5d13cb698e4a9eddacca7440fbc83da9c5 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 18 Aug 2022 00:49:42 +0200 Subject: [PATCH] Shorten zone name in jump popup target submenu. --- server/TracySourceView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp index f89fbac9..e76eba24 100644 --- a/server/TracySourceView.cpp +++ b/server/TracySourceView.cpp @@ -2706,7 +2706,7 @@ uint64_t SourceView::RenderSymbolAsmView( const AddrStatData& as, Worker& worker auto jumpSym = jumpBase == 0 ? worker.GetSymbolData( m_jumpPopupAddr ) : worker.GetSymbolData( jumpBase ); if( jumpSym ) { - snprintf( buf, 1024, "%s+%" PRIu32, worker.GetString( jumpSym->name ), jumpOffset ); + snprintf( buf, 1024, "%s+%" PRIu32, ShortenZoneName( ShortenName::OnlyNormalize, worker.GetString( jumpSym->name ) ), jumpOffset ); } else {