Shorten zone name in jump popup target submenu.

This commit is contained in:
Bartosz Taudul 2022-08-18 00:49:42 +02:00
parent f9a4bc55cc
commit d62f7d5d13
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -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
{