diff --git a/ChangeLog b/ChangeLog index c33238952..2fb9dd4b7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2016-09-07 Alexei Podtelezhnikov + + * src/smooth/ftgrays.c (gray_hline): Microptimize. + 2016-09-06 Alexei Podtelezhnikov [smooth] Operate in absolute bitmap coordinates. diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c index 5aa64720b..59fafdb4d 100644 --- a/src/smooth/ftgrays.c +++ b/src/smooth/ftgrays.c @@ -1333,7 +1333,7 @@ typedef ptrdiff_t FT_PtrDist; TArea area; - if ( cell->x > x && cover != 0 ) + if ( cover != 0 && cell->x > x ) gray_hline( RAS_VAR_ x, y, (TArea)cover * ( ONE_PIXEL * 2 ), cell->x - x );