We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce167a7 commit 0861993Copy full SHA for 0861993
src_c/font.c
@@ -833,7 +833,7 @@ static int
833
font_setter_outline(PyObject *self, PyObject *value, void *closure)
834
{
835
if (!PgFont_GenerationCheck(self)) {
836
- return RAISE_FONT_QUIT_ERROR();
+ RAISE_FONT_QUIT_ERROR_RETURN(-1);
837
}
838
839
TTF_Font *font = PyFont_AsFont(self);
@@ -851,9 +851,10 @@ static PyObject *
851
font_getter_outline(PyObject *self, void *closure)
852
853
854
855
856
857
+
858
return PyLong_FromLong(TTF_GetFontOutline(PyFont_AsFont(self)));
859
860
0 commit comments