< prev index next >
src/java.desktop/share/native/libfreetype/src/base/ftoutln.c
Print this page
@@ -2,11 +2,11 @@
*
* ftoutln.c
*
* FreeType outline management (body).
*
- * Copyright (C) 1996-2019 by
+ * Copyright (C) 1996-2020 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the terms of the FreeType project
* license, LICENSE.TXT. By continuing to use, modify, or distribute
@@ -709,11 +709,11 @@
{
FT_Vector* vec;
FT_Vector* limit;
- if ( !outline || !matrix )
+ if ( !outline || !matrix || !outline->points )
return;
vec = outline->points;
limit = vec + outline->n_points;
< prev index next >