Cosmetics.

This commit is contained in:
Bartosz Taudul 2021-05-15 13:03:42 +02:00
parent 6b2de1c8b5
commit 8ea02a4794
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -432,11 +432,11 @@ Worker::Worker( const char* name, const char* program, const std::vector<ImportE
for( auto& t : m_threadMap )
{
auto name = threadNames.find(t.first);
if (name != threadNames.end())
if( name != threadNames.end() )
{
char buf[128];
int len = snprintf(buf, sizeof(buf), "(%" PRIu64 ") %s", t.first, name->second.c_str());
AddThreadString(t.first, buf, len);
int len = snprintf( buf, sizeof( buf ), "(%" PRIu64 ") %s", t.first, name->second.c_str() );
AddThreadString( t.first, buf, len );
}
else
{