diff options
author | Werner Lemberg <wl@gnu.org> | 2001-12-21 10:57:09 +0000 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2001-12-21 10:57:09 +0000 |
commit | b3bf8144df2d6222508f81ad9ac1a0e2147b3ee8 (patch) | |
tree | 8418bf93176a7617e3cc17ec57693c477e7ded90 | |
parent | 04658fcd81e5478e5cef69d696b52701d454fdda (diff) | |
download | freetype2-b3bf8144df2d6222508f81ad9ac1a0e2147b3ee8.tar.gz |
Formatting.
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | src/pshinter/pshglob.c | 8 |
2 files changed, 8 insertions, 9 deletions
@@ -1,10 +1,9 @@ 2001-12-21 David Turner <david@freetype.org> - * 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 <wl@gnu.org> 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; |