Skip to content

Commit 3ae7d36

Browse files
committed
Changed use of RAISE to PyErr_SetString for consistency.
1 parent 3b60774 commit 3ae7d36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src_c/font.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ font_setter_outline(PyObject *self, PyObject *value, void *closure)
944944
TTF_SetFontOutline(font, (int)val);
945945
return 0;
946946
#else
947-
RAISE(pgExc_SDLError,
947+
PyErr_SetString(pgExc_SDLError,
948948
"pygame.font not compiled with a new enough SDL_ttf version. Needs "
949949
"SDL_ttf 2.0.12 or above.");
950950
return -1;

0 commit comments

Comments
 (0)