mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-07 04:08:47 +02:00
Thinko; fix previous commit.
This commit is contained in:
parent
e69f34b1e2
commit
9f6426eb16
1 changed files with 2 additions and 2 deletions
|
|
@ -159,9 +159,9 @@
|
|||
}
|
||||
|
||||
/* in the nested loops below we increase `i' twice; */
|
||||
/* it is faster to simply allocate one more slot */
|
||||
/* it is faster to simply allocate two more slots */
|
||||
/* than to add another test within the loop */
|
||||
if ( FT_NEW_ARRAY( points, n + 1 ) )
|
||||
if ( FT_NEW_ARRAY( points, n + 2 ) )
|
||||
return NULL;
|
||||
|
||||
*point_cnt = n;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue