Fixed compilation bug for standalone mode.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
diff --git a/src/base/ftraster.c b/src/base/ftraster.c
index 0f21076..b0059a1 100644
--- 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 );