From 1b3464a3867f421463c7013b6a1c5e6215332719 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 6 Apr 2022 01:42:13 +0200 Subject: [PATCH] Fix wrong source color box. --- server/TracySourceView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp index f0a495de..18366a64 100644 --- a/server/TracySourceView.cpp +++ b/server/TracySourceView.cpp @@ -2414,7 +2414,7 @@ uint64_t SourceView::RenderSymbolAsmView( const AddrStatData& as, Worker& worker else { const auto fn = worker.GetString( sidx ); - const auto fc = GetHsvColor( srcidx.Idx(), 0 ); + const auto fc = GetHsvColor( sidx.Idx(), 0 ); SmallColorBox( fc ); ImGui::SameLine(); ImGui::Text( "%i. %s:%i", j+1, fn, srcline );