diff options
-rw-r--r-- | core/fxcrt/fx_system.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcrt/fx_system.h b/core/fxcrt/fx_system.h index d3f488a33a..c31bef974f 100644 --- a/core/fxcrt/fx_system.h +++ b/core/fxcrt/fx_system.h @@ -76,7 +76,7 @@ typedef wchar_t FX_WCHAR; // Keep, maybe bad platform wchars. #define IsFloatZero(f) ((f) < 0.0001 && (f) > -0.0001) #define IsFloatBigger(fa, fb) ((fa) > (fb) && !IsFloatZero((fa) - (fb))) #define IsFloatSmaller(fa, fb) ((fa) < (fb) && !IsFloatZero((fa) - (fb))) -#define IsFloatEqual(fa, fb) IsFloatZero(fa - fb) +#define IsFloatEqual(fa, fb) IsFloatZero((fa) - (fb)) // PDFium string sizes are limited to 2^31-1, and the value is signed to // allow -1 as a placeholder for "unknown". |