* src/smooth/ftgrays.c (gray_set_cell): Fix uninitialized variables.

This commit is contained in:
Alexei Podtelezhnikov 2017-11-06 21:34:56 -05:00
parent cdab9cfae9
commit ab6fe0768f
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2017-11-01 Alexei Podtelezhnikov <apodtele@gmail.com>
* src/smooth/ftgrays.c (gray_set_cell): Fix uninitialized variables.
2017-11-03 Ewald Hew <ewaldhew@gmail.com>
[psaux] Fix PostScript interpreter rewinding in Type 1 mode. (#52251)

View File

@ -582,8 +582,8 @@ typedef ptrdiff_t FT_PtrDist;
if ( ex < ras.min_ex )
ex = ras.min_ex - 1;
/* record the current one if it is substantial and valid */
if ( ( ras.area || ras.cover ) && !ras.invalid )
/* record the current one if it is valid and substantial */
if ( !ras.invalid && ( ras.area || ras.cover ) )
gray_record_cell( RAS_VAR );
ras.area = 0;