* src/smooth/ftgrays.c (gray_render_line): Small shortcut.

This commit is contained in:
Alexei Podtelezhnikov 2019-05-04 08:11:20 -04:00
parent 7b84104720
commit 8172577380
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2019-05-04 Alexei Podtelezhnikov <apodtele@gmail.com>
* src/smooth/ftgrays.c (gray_render_line): Small shortcut.
2019-05-04 Werner Lemberg <wl@gnu.org>
Various clang 8.0 static analyzer fixes.

View File

@ -856,8 +856,8 @@ typedef ptrdiff_t FT_PtrDist;
;
else if ( dy == 0 ) /* ex1 != ex2 */ /* any horizontal line */
{
ex1 = ex2;
gray_set_cell( RAS_VAR_ ex1, ey1 );
gray_set_cell( RAS_VAR_ ex2, ey2 );
goto End;
}
else if ( dx == 0 )
{