Fix offset.

This commit is contained in:
Bartosz Taudul 2021-12-30 03:19:03 +01:00
parent 36068d1f2b
commit adb168a5ea
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -1938,7 +1938,7 @@ void SourceView::RenderSymbolSourceView( const AddrStatData& as, Worker& worker,
const auto maxAsm = strlen( tmp ) + 1; const auto maxAsm = strlen( tmp ) + 1;
lx += ts * maxAsm + ty; lx += ts * maxAsm + ty;
} }
if( m_hwSamples && worker.GetHwSampleCountAddress() != 0 ) lx += 19 * ts + ty; if( m_hwSamples && worker.GetHwSampleCountAddress() != 0 ) lx += 17 * ts + ty;
DrawLine( draw, dpos + ImVec2( lx, 0 ), dpos + ImVec2( lx, wh ), 0x08FFFFFF ); DrawLine( draw, dpos + ImVec2( lx, 0 ), dpos + ImVec2( lx, wh ), 0x08FFFFFF );
const AddrStatData zero; const AddrStatData zero;