From ac1c157d2c01d2a810ae15f1d71ca16463d651cf Mon Sep 17 00:00:00 2001 From: David Turner Date: Sun, 17 Sep 2000 17:17:16 +0000 Subject: [PATCH] fixed minor bug in the smooth renderer which forced the span callback to be called with y == -1 and count == 0 --- src/smooth/ftgrays.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c index 442939f01..ccf82a50b 100644 --- a/src/smooth/ftgrays.c +++ b/src/smooth/ftgrays.c @@ -1320,7 +1320,7 @@ if ( ras.span_y != y || count >= FT_MAX_GRAY_SPANS ) { - if ( ras.render_span ) + if ( ras.render_span && count > 0 ) ras.render_span( ras.span_y, count, ras.gray_spans, ras.render_span_data ); /* ras.render_span( span->y, ras.gray_spans, count ); */