1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +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

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