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

Update TracySystem.cpp

This commit is contained in:
Bartosz Taudul 2023-09-08 14:01:26 +02:00 committed by GitHub
parent 05e3905742
commit 324cb3d625
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -219,7 +219,7 @@ TRACY_API const char* GetThreadName( uint32_t id )
if( hnd != 0 )
{
PWSTR tmp;
if ( SUCCEEDED( _GetThreadDescription( hnd, &tmp ) ) )
if( SUCCEEDED( _GetThreadDescription( hnd, &tmp ) ) )
{
auto ret = wcstombs( buf, tmp, 256 );
CloseHandle( hnd );