diff --git a/Makefile b/Makefile index 15531b9..6ae7478 100644 --- a/Makefile +++ b/Makefile @@ -188,7 +188,7 @@ testpdfio: testpdfio.o libpdfio.a # TTF test program testttf: ttf.o testttf.o echo Linking $@... - $(CC) $(LDFLAGS) -o testttf ttf.o testttf.o $(LIBS) + $(CC) $(LDFLAGS) $(COMMONFLAGS) -o testttf ttf.o testttf.o $(LIBS) # Dependencies diff --git a/ttf.c b/ttf.c index c066eec..9a71594 100644 --- a/ttf.c +++ b/ttf.c @@ -480,7 +480,7 @@ ttfCreate(const char *filename, // I - Filename #ifdef DEBUG if (i >= ' ' && i < 127) - TTF_DEBUG("ttfCreate: width['%c']=%d(%d)\n", (char)i, font->widths[0][i].width, font->widths[0][i].left_bearingx); + TTF_DEBUG("ttfCreate: width['%c']=%d(%d)\n", (char)i, font->widths[0][i].width, font->widths[0][i].left_bearing); #endif // DEBUG }