From 6b831173e417435c3dad3836517955b5fd45baca Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 25 Apr 2020 13:51:58 +0200 Subject: [PATCH] Don't display asm counts if no asm available. --- server/TracySourceView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp index 0d44d5bb..f97ce283 100644 --- a/server/TracySourceView.cpp +++ b/server/TracySourceView.cpp @@ -1330,7 +1330,7 @@ void SourceView::RenderLine( const Line& line, int lineNum, uint32_t ipcnt, uint ImGui::SameLine( 0, ty ); uint32_t match = 0; - if( m_symAddr != 0 ) + if( !m_asm.empty() ) { assert( worker ); const auto stw = ImGui::CalcTextSize( " " ).x;