1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

Fixed double-printing with types derived from typed primitives

This commit is contained in:
Brian Fiete 2020-07-13 05:08:50 -07:00
parent 1b04880178
commit 7caea60e29

View file

@ -7809,8 +7809,9 @@ String WinDebugger::DbgTypedValueToString(const DbgTypedValue& origTypedValue, c
while (summaryType != NULL)
{
summaryType->PopulateType();
if (summaryType->IsTypedPrimitive())
if ((summaryType->IsTypedPrimitive()) &&
((summaryType->mBaseTypes.IsEmpty()) || (!summaryType->mBaseTypes.front()->mBaseType->IsTypedPrimitive())))
{
if (formatInfo.mTotalSummaryLength + (int)displayString.length() > 255)
{