1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 20:33:52 +00:00

Use ellipsis for more condensed source file in asm line.

This commit is contained in:
Bartosz Taudul 2022-09-24 00:29:38 +02:00
parent 8c5dc57359
commit 55e78ba4f7
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -3687,7 +3687,7 @@ void SourceView::RenderAsmLine( AsmLine& line, const AddrStat& ipcnt, const Addr
} }
else else
{ {
sprintf( buf, "...%s:%i", fileName+fnsz-(30-3-1-m_maxLine), srcline ); sprintf( buf, "\xe2\x80\xa6%s:%i", fileName+fnsz-(30-1-1-m_maxLine), srcline );
} }
TextDisabledUnformatted( buf ); TextDisabledUnformatted( buf );
if( ImGui::IsItemHovered() ) if( ImGui::IsItemHovered() )