Normalize child call names in symbol view.

This commit is contained in:
Bartosz Taudul 2022-08-15 22:58:35 +02:00
parent 00e0187506
commit f39efbaa07
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -1563,7 +1563,16 @@ void SourceView::RenderSymbolView( Worker& worker, View& view )
const auto symName = sd ? worker.GetString( sd->name ) : "[unknown]";
if( v.addr >> 63 == 0 )
{
ImGui::TextUnformatted( symName );
if( shortenName == ShortenName::Never )
{
ImGui::TextUnformatted( symName );
}
else
{
const auto normalized = ShortenZoneName( ShortenName::OnlyNormalize, symName );
ImGui::TextUnformatted( normalized );
TooltipNormalizedName( symName, normalized );
}
}
else
{