diff --git a/src/D3D12MemAlloc.cpp b/src/D3D12MemAlloc.cpp index 5281201..d145c5c 100644 --- a/src/D3D12MemAlloc.cpp +++ b/src/D3D12MemAlloc.cpp @@ -7449,8 +7449,8 @@ void AllocatorPimpl::BuildStatsString(WCHAR** ppStatsString, BOOL detailedMap) json.ContinueString(index++); if (item->GetName()) { - json.WriteString(L" - "); - json.WriteString(item->GetName()); + json.ContinueString(L" - "); + json.ContinueString(item->GetName()); } json.EndString();