Skip to content

Commit

Permalink
Fixed #745
Browse files Browse the repository at this point in the history
  • Loading branch information
MaartenHilferink committed Jun 6, 2024
1 parent f50a290 commit 5c8dcf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tic/dll/src/DisplayValue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ SharedStr DisplayValue(const AbstrDataItem* adi, SizeT index, bool useMetric, Sh
result = SharedArray<char>::Create(valueLen + 1, false);
drl->AsCharArray(index, result.begin(), valueLen, locks.first, FormattingFlags::ThousandSeparator);
result.begin()[valueLen] = char(0);
if (valueLen < maxLen)
if (valueLen < maxLen && adi->GetValueComposition() == ValueComposition::Single)
{
maxLen -= valueLen;

Expand Down

0 comments on commit 5c8dcf6

Please sign in to comment.