1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Don't try to shorten zone names starting with '['.

This commit is contained in:
Bartosz Taudul
2024-06-12 23:33:45 +02:00
parent 2edd23f5a0
commit 3589b46fab
+1 -1
View File
@@ -19,7 +19,7 @@ constexpr const char* TypesList[] = {
const char* ShortenZoneName( ShortenName type, const char* name, ImVec2& tsz, float zsz )
{
assert( type != ShortenName::Never );
if( name[0] == '<' ) return name;
if( name[0] == '<' || name[0] == '[' ) return name;
if( type == ShortenName::Always ) zsz = 0;
static char buf[64*1024];