Skip to content

Commit 936372b

Browse files
committed
Fix oversight causing % format floats (not doubles) to not be parsed correctly
1 parent 80bbbbd commit 936372b

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/Utilities/Parser.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -294,10 +294,6 @@ inline bool Parser<float>::TryParse(const char* pValue, OutType* outValue)
294294
{
295295
float floatValue = static_cast<float>(buffer);
296296

297-
if (strchr(pValue, '%'))
298-
{
299-
floatValue *= 0.01f;
300-
}
301297
if (outValue)
302298
{
303299
*outValue = floatValue;

0 commit comments

Comments
 (0)