Index: core/fxcrt/fx_system.h |
diff --git a/core/fxcrt/fx_system.h b/core/fxcrt/fx_system.h |
index d3f488a33abc94f29147b65c5cb4a6f85cf30c54..c31bef974fe06f42d63d66d2d5751596f6d62e32 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)) |
dsinclair
2016/11/09 03:33:23
Should these just be real methods instead of macro
Lei Zhang
2016/11/09 05:34:09
We can, but the behavior of this CL won't change f
|
// PDFium string sizes are limited to 2^31-1, and the value is signed to |
// allow -1 as a placeholder for "unknown". |