Don't display asm counts if no asm available.

This commit is contained in:
Bartosz Taudul 2020-04-25 13:51:58 +02:00
parent c2d84fa288
commit 6b831173e4

View File

@ -1330,7 +1330,7 @@ void SourceView::RenderLine( const Line& line, int lineNum, uint32_t ipcnt, uint
ImGui::SameLine( 0, ty ); ImGui::SameLine( 0, ty );
uint32_t match = 0; uint32_t match = 0;
if( m_symAddr != 0 ) if( !m_asm.empty() )
{ {
assert( worker ); assert( worker );
const auto stw = ImGui::CalcTextSize( " " ).x; const auto stw = ImGui::CalcTextSize( " " ).x;