mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2024-12-27 05:48:20 +01:00
Fix typo and 'make debug'.
This commit is contained in:
parent
600fa4ce59
commit
efe7c01015
2
Makefile
2
Makefile
@ -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
2
ttf.c
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user