ref: 9ab7c3c37e1514004f7e6ec05761f868e68420a6
parent: f6356ab71370699a974fb1dedb544bb3b46abc26
author: Werner Lemberg <[email protected]>
date: Sat Jan 15 07:43:27 EST 2000
Fixed compilation bug for standalone mode.
--- a/src/base/ftraster.c
+++ b/src/base/ftraster.c
@@ -2258,7 +2258,7 @@
FT_Vector v_start;
FT_Vector* point;
- PByte flags;
+ char* flags;
int n; /* index of contour in outline */
int first; /* index of first point in contour */
@@ -3112,8 +3112,8 @@
#ifdef FT_RASTER_OPTION_CONTRAST
if ( x2-x1 < PRECISION )
{
- x1 = ((x1+x2) >> 1) - PRECISION_HALF;
- x2 = x1 + PRECISION;
+ x1 = ((x1+x2) >> 1) - PRECISION_HALF;
+ x2 = x1 + PRECISION;
}
#endif
@@ -3326,10 +3326,10 @@
#ifdef FT_RASTER_OPTION_CONTRAST
if (x2-x1 < PRECISION)
- {
- x1 = ((x1+x2) >> 1) - PRECISION_HALF;
- x2 = x1 + PRECISION;
- }
+ {
+ x1 = ((x1+x2) >> 1) - PRECISION_HALF;
+ x2 = x1 + PRECISION;
+ }
#endif
e1 = TRUNC( x1 );