Skip to content

Commit

Permalink
Fix typo and 'make debug'.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Nov 14, 2023
1 parent 600fa4c commit efe7c01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ttf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit efe7c01

Please sign in to comment.