diff options
author | culler <culler> | 2024-07-19 05:02:06 (GMT) |
---|---|---|
committer | culler <culler> | 2024-07-19 05:02:06 (GMT) |
commit | a7042bc073cde4769058cf3d511ef07ef14493fd (patch) | |
tree | 12190365d6eba5f8dc95245fc902c8fb71dd1fb1 /generic/tkObj.c | |
parent | 405cd1740e12c6b84187670afbaf7f835310c288 (diff) | |
download | tk-a7042bc073cde4769058cf3d511ef07ef14493fd.zip tk-a7042bc073cde4769058cf3d511ef07ef14493fd.tar.gz tk-a7042bc073cde4769058cf3d511ef07ef14493fd.tar.bz2 |
Fix [13f4eabe]: 0.35278 != 25.4 / 72.0 in double precision arithmetic.
Diffstat (limited to 'generic/tkObj.c')
-rw-r--r-- | generic/tkObj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkObj.c b/generic/tkObj.c index 4d3e045..c82dd06 100644 --- a/generic/tkObj.c +++ b/generic/tkObj.c @@ -198,7 +198,7 @@ GetPixelsFromObjEx( double d; PixelRep *pixelPtr; static const double bias[] = { - 1.0, 10.0, 25.4, 0.35278 /*25.4 / 72.0*/ + 1.0, 10.0, 25.4, 25.4 / 72.0 }; if (objPtr->typePtr != &pixelObjType) { |