Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1cd9137

Browse files
authored
Merge pull request #15748 from QuLogic/cpp-warnings
Fix incorrect macro in FT2Font setup.
2 parents 70aadd0 + ee92f32 commit 1cd9137

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ft2font_wrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ static int PyFT2Font_init(PyFT2Font *self, PyObject *args, PyObject *kwds)
569569
CALL_CPP_FULL(
570570
"FT2Font", (self->x = new FT2Font(open_args, hinting_factor)), PyFT2Font_fail(self), -1);
571571

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

574574
Py_INCREF(fname);
575575
self->fname = fname;

0 commit comments

Comments
 (0)