Skip to content

Commit

Permalink
Fix linux build #50
Browse files Browse the repository at this point in the history
  • Loading branch information
mkellner committed Feb 27, 2019
1 parent 7f8e691 commit 94638dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build/makefiles/lin/tools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ MODULES = \
$(TMP_DIR)/commodettoPocoBlit.c.xsi \
$(TMP_DIR)/commodettoReadJPEG.c.xsi \
$(TMP_DIR)/commodettoReadPNG.c.xsi \
$(TMP_DIR)/cfeBMF.c.xsi \
$(TMP_DIR)/image2cs.c.xsi \
$(TMP_DIR)/miniz.c.xsi \
$(TMP_DIR)/modInstrumentation.c.xsi \
Expand Down Expand Up @@ -169,6 +170,7 @@ OBJECTS = \
$(TMP_DIR)/commodettoPocoBlit.c.o \
$(TMP_DIR)/commodettoReadJPEG.c.o \
$(TMP_DIR)/commodettoReadPNG.c.o \
$(TMP_DIR)/cfeBMF.c.o \
$(TMP_DIR)/image2cs.c.o \
$(TMP_DIR)/miniz.c.o \
$(TMP_DIR)/modInstrumentation.c.o \
Expand Down
2 changes: 1 addition & 1 deletion modules/commodetto/cfeBMF.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ void CFELayoutRun(CommodettoFontEngine bmf, const char *utf8, int32_t byteLength
if (kInvalidGlyphID == glyphID)
continue;

glyph = CFEGetGlyphFromGlyphID(bmf, glyphID, false);
glyph = CFEGetGlyphFromGlyphID(bmf, glyphID, 0);
if (NULL == glyph)
continue;

Expand Down

0 comments on commit 94638dc

Please sign in to comment.