Fix InfoString not properly iterating through gdt entry parents when converting

This commit is contained in:
Jan 2021-03-28 13:15:29 +02:00
parent 6acbd0e2be
commit 31407e62e2

View File

@ -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;
}
}