Fix wrong source color box.

This commit is contained in:
Bartosz Taudul 2022-04-06 01:42:13 +02:00
parent e34d79c0c7
commit 1b3464a386
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -2414,7 +2414,7 @@ uint64_t SourceView::RenderSymbolAsmView( const AddrStatData& as, Worker& worker
else else
{ {
const auto fn = worker.GetString( sidx ); const auto fn = worker.GetString( sidx );
const auto fc = GetHsvColor( srcidx.Idx(), 0 ); const auto fc = GetHsvColor( sidx.Idx(), 0 );
SmallColorBox( fc ); SmallColorBox( fc );
ImGui::SameLine(); ImGui::SameLine();
ImGui::Text( "%i. %s:%i", j+1, fn, srcline ); ImGui::Text( "%i. %s:%i", j+1, fn, srcline );