* src/base/ftoutln.c (FT_Outline_Translate): Check `outline' before
first usage. From Savannah patch #6115.
This commit is contained in:
parent
5bfe0d0465
commit
71dd687310
|
@ -1,3 +1,8 @@
|
|||
2007-07-27 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/base/ftoutln.c (FT_Outline_Translate): Check `outline' before
|
||||
first usage. From Savannah patch #6115.
|
||||
|
||||
2007-07-16 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* docs/CHANGES: Updated.
|
||||
|
|
|
@ -474,12 +474,14 @@
|
|||
FT_Pos yOffset )
|
||||
{
|
||||
FT_UShort n;
|
||||
FT_Vector* vec = outline->points;
|
||||
FT_Vector* vec;
|
||||
|
||||
|
||||
if ( !outline )
|
||||
return;
|
||||
|
||||
vec = outline->points;
|
||||
|
||||
for ( n = 0; n < outline->n_points; n++ )
|
||||
{
|
||||
vec->x += xOffset;
|
||||
|
|
Loading…
Reference in New Issue