diff --git a/src_c/event.c b/src_c/event.c index 5ed8ca637f..163d13b242 100644 --- a/src_c/event.c +++ b/src_c/event.c @@ -2260,13 +2260,13 @@ pg_event_peek(PyObject *self, PyObject *args, PyObject *kwargs) seq = _pg_eventtype_as_seq(obj, &len); if (!seq) - return Py_RETURN_FALSE; + Py_RETURN_FALSE; for (loop = 0; loop < len; loop++) { type = _pg_eventtype_from_seq(seq, loop); if (type == -1) { Py_DECREF(seq); - return Py_RETURN_FALSE; + Py_RETURN_FALSE; } res = PG_PEEP_EVENT(&event, 1, SDL_PEEKEVENT, type); if (res) {