From eec5444d84bec813ede74d73b231f11a74a118fd Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 30 Nov 2025 02:39:16 +0100 Subject: [PATCH] Fix invalid chapter names for unnumbered manual sections. --- profiler/src/profiler/TracyManualData.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/profiler/src/profiler/TracyManualData.cpp b/profiler/src/profiler/TracyManualData.cpp index f9fcb23c..6d003a68 100644 --- a/profiler/src/profiler/TracyManualData.cpp +++ b/profiler/src/profiler/TracyManualData.cpp @@ -57,8 +57,9 @@ TracyManualData::TracyManualData() chapterNames.resize( level ); } levels[level - 1]++; - chapterNames[level - 1] = line.substr( level + 1 ); } + + chapterNames[level - 1] = line.substr( level + 1 ); } } pos = next + 1;