Skip to content

Commit

Permalink
Merge pull request #15748 from QuLogic/cpp-warnings
Browse files Browse the repository at this point in the history
Fix incorrect macro in FT2Font setup.
  • Loading branch information
timhoffm committed Nov 26, 2019
2 parents 70aadd0 + ee92f32 commit 1cd9137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ft2font_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ static int PyFT2Font_init(PyFT2Font *self, PyObject *args, PyObject *kwds)
CALL_CPP_FULL(
"FT2Font", (self->x = new FT2Font(open_args, hinting_factor)), PyFT2Font_fail(self), -1);

CALL_CPP("FT2Font->set_kerning_factor", (self->x->set_kerning_factor(kerning_factor)));
CALL_CPP_INIT("FT2Font->set_kerning_factor", (self->x->set_kerning_factor(kerning_factor)));

Py_INCREF(fname);
self->fname = fname;
Expand Down

0 comments on commit 1cd9137

Please sign in to comment.