mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 23:04:09 +02:00
Fixed string length override
This commit is contained in:
parent
86d8f78761
commit
14ad1b72fc
1 changed files with 2 additions and 2 deletions
|
@ -7002,8 +7002,8 @@ String WinDebugger::DbgTypedValueToString(const DbgTypedValue& origTypedValue, c
|
||||||
if ((!typedValue.mIsLiteral) && (!formatInfo.mHidePointers))
|
if ((!typedValue.mIsLiteral) && (!formatInfo.mHidePointers))
|
||||||
retVal = EncodeDataPtr(ptrVal, true);
|
retVal = EncodeDataPtr(ptrVal, true);
|
||||||
|
|
||||||
int strLen = -1;
|
int strLen = formatInfo.mOverrideCount;
|
||||||
if (typedValue.mIsLiteral)
|
if ((strLen == -1) && (typedValue.mIsLiteral))
|
||||||
{
|
{
|
||||||
if (typedValue.mDataLen > 0)
|
if (typedValue.mDataLen > 0)
|
||||||
strLen = typedValue.mDataLen;
|
strLen = typedValue.mDataLen;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue