mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Don't try to shorten zone names starting with '['.
This commit is contained in:
parent
2edd23f5a0
commit
3589b46fab
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user