From 31407e62e24c903933bcb60936ce26c897452da3 Mon Sep 17 00:00:00 2001 From: Jan Date: Sun, 28 Mar 2021 13:15:29 +0200 Subject: [PATCH] Fix InfoString not properly iterating through gdt entry parents when converting --- src/ObjCommon/InfoString/InfoString.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ObjCommon/InfoString/InfoString.cpp b/src/ObjCommon/InfoString/InfoString.cpp index 449898a1..489fbc20 100644 --- a/src/ObjCommon/InfoString/InfoString.cpp +++ b/src/ObjCommon/InfoString/InfoString.cpp @@ -205,8 +205,8 @@ bool InfoString::FromGdtProperties(const GdtEntry& gdtEntry) const auto* currentEntry = &gdtEntry; while (currentEntry) { - entryStack.push(&gdtEntry); - currentEntry = gdtEntry.m_parent; + entryStack.push(currentEntry); + currentEntry = currentEntry->m_parent; } }