diff --git a/src/if_py_both.h b/src/if_py_both.h index eae3894378..6188f47211 100644 --- a/src/if_py_both.h +++ b/src/if_py_both.h @@ -4196,7 +4196,7 @@ pyiter_to_tv(PyObject *obj, typval_T *tv, PyObject *lookup_dict) if (iterator == NULL) return -1; - while ((item = PyIter_Next(obj))) + while ((item = PyIter_Next(iterator))) { li = listitem_alloc(); if (li == NULL) diff --git a/src/version.c b/src/version.c index 13a0ec2f43..52089f945e 100644 --- a/src/version.c +++ b/src/version.c @@ -728,6 +728,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1050, /**/ 1049, /**/