ref: 4679bf83a61f7508c2a4043a6d296c9552d3de8d
parent: 25b1330a4debea616a0da3c506fa090f1df9e54a
author: Werner Lemberg <[email protected]>
date: Sat Nov 28 14:05:36 EST 2015
Fix C++ compilation. * src/autofit/afloader.c: Include FT_INTERNAL_CALC_H. * src/truetype/ttgload.c (load_truetype_glyph): Pacify compiler.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2015-11-28 Werner Lemberg <[email protected]>
+
+ Fix C++ compilation.
+
+ * src/autofit/afloader.c: Include FT_INTERNAL_CALC_H.
+
+ * src/truetype/ttgload.c (load_truetype_glyph): Pacify compiler.
+
2015-11-28 Nikolaus Waxweiler <[email protected]>
Change default LCD filter to be normalized and color-balanced.
--- a/src/autofit/afloader.c
+++ b/src/autofit/afloader.c
@@ -23,6 +23,8 @@
#include "afmodule.h"
#include "afpic.h"
+#include FT_INTERNAL_CALC_H
+
/* Initialize glyph loader. */
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -1659,7 +1659,7 @@
}
else
{
- FT_ListNode node;
+ FT_ListNode node = NULL;
if ( FT_NEW( node ) )