diff --git a/ChangeLog b/ChangeLog index bf9154503..63d1ca3f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,9 @@ 2001-12-21 David Turner - * src/pshinter/pshglob.c (psh_globals_new): replaced a floating point - constant with a fixed-float equivalent. For some reason, some compilers - aren't capable of directly computing a floating pointer constant casted - to FT_Fixed, and will link a math library instead !! - + * src/pshinter/pshglob.c (psh_globals_new): Replaced a floating + point constant with a fixed-float equivalent. For some reasons not + all compilers are capable of directly computing a floating pointer + constant casted to FT_Fixed, and will link a math library instead. 2001-12-20 Werner Lemberg diff --git a/src/pshinter/pshglob.c b/src/pshinter/pshglob.c index c0630730d..db8989061 100644 --- a/src/pshinter/pshglob.c +++ b/src/pshinter/pshglob.c @@ -644,12 +644,12 @@ priv->family_other_blues, priv->blue_fuzz, 1 ); globals->blues.blue_scale = priv->blue_scale - ? priv->blue_scale - : 0x28937L; /* ( 0.039625 * 0x400000L ) !! */ + ? priv->blue_scale + : 0x28937L; /* 0.039625 * 0x400000L */ globals->blues.blue_shift = priv->blue_shift - ? priv->blue_shift - : 7; + ? priv->blue_shift + : 7; globals->dimension[0].scale_mult = 0; globals->dimension[0].scale_delta = 0;