mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Fixed 'full' float display
This commit is contained in:
parent
df1401e48a
commit
015641b896
1 changed files with 1 additions and 1 deletions
|
@ -7055,7 +7055,7 @@ String WinDebugger::DbgTypedValueToString(const DbgTypedValue& origTypedValue, c
|
|||
if (floatDisplayType == DwFloatDisplayType_Minimal)
|
||||
ExactMinimalFloatToStr(typedValue.mSingle, str);
|
||||
else if (floatDisplayType == DwFloatDisplayType_Full)
|
||||
sprintf(str, "%1.9g", (float)typedValue.mDouble);
|
||||
sprintf(str, "%1.9g", typedValue.mSingle);
|
||||
else if (floatDisplayType == DwFloatDisplayType_HexUpper)
|
||||
sprintf(str, "0x%04X", typedValue.mUInt32);
|
||||
else //if (floatDisplayType == DwFloatDisplayType_HexLower)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue