Normalize function names in jump popup.

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

View File

@ -2506,7 +2506,7 @@ uint64_t SourceView::RenderSymbolAsmView( const AddrStatData& as, Worker& worker
ImGui::SameLine(); ImGui::SameLine();
ImGui::PushFont( m_smallFont ); ImGui::PushFont( m_smallFont );
ImGui::AlignTextToFramePadding(); ImGui::AlignTextToFramePadding();
TextDisabledUnformatted( worker.GetString( symData->name ) ); TextDisabledUnformatted( ShortenZoneName( ShortenName::OnlyNormalize, worker.GetString( symData->name ) ) );
ImGui::PopFont(); ImGui::PopFont();
} }
} }
@ -2541,7 +2541,7 @@ uint64_t SourceView::RenderSymbolAsmView( const AddrStatData& as, Worker& worker
ImGui::SameLine(); ImGui::SameLine();
ImGui::PushFont( m_smallFont ); ImGui::PushFont( m_smallFont );
ImGui::AlignTextToFramePadding(); ImGui::AlignTextToFramePadding();
TextDisabledUnformatted( worker.GetString( symData->name ) ); TextDisabledUnformatted( ShortenZoneName( ShortenName::OnlyNormalize, worker.GetString( symData->name ) ) );
ImGui::PopFont(); ImGui::PopFont();
} }
} }