| Index: core/src/fpdftext/fpdf_text_int.cpp
|
| diff --git a/core/src/fpdftext/fpdf_text_int.cpp b/core/src/fpdftext/fpdf_text_int.cpp
|
| index c28647dc17809eab98a3ba4ca81ca588f0e5ae87..5ed0e01ab9b592fb04b309288ad214cf83e8a6d3 100644
|
| --- a/core/src/fpdftext/fpdf_text_int.cpp
|
| +++ b/core/src/fpdftext/fpdf_text_int.cpp
|
| @@ -37,13 +37,13 @@ FX_BOOL _IsIgnoreSpaceCharacter(FX_WCHAR curChar)
|
| FX_FLOAT _NormalizeThreshold(FX_FLOAT threshold)
|
| {
|
| if (threshold < 300) {
|
| - return threshold / 2.0;
|
| + return threshold / 2.0f;
|
| } else if (threshold < 500) {
|
| - return threshold / 4.0;
|
| + return threshold / 4.0f;
|
| } else if (threshold < 700) {
|
| - return threshold / 5.0;
|
| + return threshold / 5.0f;
|
| }
|
| - return threshold / 6.0;
|
| + return threshold / 6.0f;
|
| }
|
|
|
| FX_FLOAT _CalculateBaseSpace(const CPDF_TextObject* pTextObj,
|
|
|