mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 06:34:36 +00:00
Fix source location payload source file string length calculation
This commit is contained in:
parent
be40c1e38e
commit
4bbe973e3a
@ -3643,7 +3643,8 @@ void Worker::AddSourceLocationPayload( const char* data, size_t sz )
|
||||
const auto func = StoreString( data, end - data );
|
||||
end++;
|
||||
|
||||
data = end + strlen( data );
|
||||
data = end;
|
||||
end = data + strlen( data );
|
||||
const auto source = StoreString( data, end - data );
|
||||
end++;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user