Specify minimum length of subframe skip in one place.

This commit is contained in:
Bartosz Taudul
2021-06-09 02:13:00 +02:00
parent e1c3babf43
commit 9c2ea8a71f
3 changed files with 4 additions and 2 deletions

View File

@@ -6002,7 +6002,7 @@ void Worker::ProcessCallstackFrame( const QueueCallstackFrame& ev, bool querySym
{
auto fstr = GetString( file );
auto flen = strlen( fstr );
if( flen >= 19 ) // minimum length in s_tracySkipSubframes
if( flen >= s_tracySkipSubframesMinLen )
{
auto ptr = s_tracySkipSubframes;
do