mirror of https://github.com/freetype/freetype
* src/smooth/ftgrays.c (gray_render_line): Small shortcut.
This commit is contained in:
parent
7b84104720
commit
8172577380
|
@ -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.
|
||||
|
|
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue