diff options
Diffstat (limited to 'core/fpdfapi/parser/cpdf_number.cpp')
-rw-r--r-- | core/fpdfapi/parser/cpdf_number.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/parser/cpdf_number.cpp b/core/fpdfapi/parser/cpdf_number.cpp index 50c48d6cb8..9afe30adca 100644 --- a/core/fpdfapi/parser/cpdf_number.cpp +++ b/core/fpdfapi/parser/cpdf_number.cpp @@ -53,7 +53,7 @@ void CPDF_Number::SetString(const CFX_ByteString& str) { } CFX_ByteString CPDF_Number::GetString() const { - return m_bInteger ? CFX_ByteString::FormatInteger(m_Integer, FXFORMAT_SIGNED) + return m_bInteger ? CFX_ByteString::FormatInteger(m_Integer) : CFX_ByteString::FormatFloat(m_Float); } |