Fix typo and 'make debug'.

This commit is contained in:
Michael R Sweet 2023-11-14 18:38:26 -05:00
parent 600fa4ce59
commit efe7c01015
No known key found for this signature in database
GPG Key ID: BE67C75EC81F3244
2 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@ testpdfio: testpdfio.o libpdfio.a
# TTF test program # TTF test program
testttf: ttf.o testttf.o testttf: ttf.o testttf.o
echo Linking $@... echo Linking $@...
$(CC) $(LDFLAGS) -o testttf ttf.o testttf.o $(LIBS) $(CC) $(LDFLAGS) $(COMMONFLAGS) -o testttf ttf.o testttf.o $(LIBS)
# Dependencies # Dependencies

2
ttf.c
View File

@ -480,7 +480,7 @@ ttfCreate(const char *filename, // I - Filename
#ifdef DEBUG #ifdef DEBUG
if (i >= ' ' && i < 127) 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 #endif // DEBUG
} }