[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master 9f6426e: Thinko; fix previous commit.
From: |
Werner LEMBERG |
Subject: |
[freetype2] master 9f6426e: Thinko; fix previous commit. |
Date: |
Tue, 19 Jul 2016 05:24:00 +0000 (UTC) |
branch: master
commit 9f6426eb16c666c3545faf913af260214205c77c
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>
Thinko; fix previous commit.
---
src/truetype/ttgxvar.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/truetype/ttgxvar.c b/src/truetype/ttgxvar.c
index 3715796..033b57f 100644
--- a/src/truetype/ttgxvar.c
+++ b/src/truetype/ttgxvar.c
@@ -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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master 9f6426e: Thinko; fix previous commit.,
Werner LEMBERG <=