diff options
Diffstat (limited to 'source/gameengine/Expressions/ListValue.cpp')
-rw-r--r-- | source/gameengine/Expressions/ListValue.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/source/gameengine/Expressions/ListValue.cpp b/source/gameengine/Expressions/ListValue.cpp index 6e47ed913db..4d9d82efb98 100644 --- a/source/gameengine/Expressions/ListValue.cpp +++ b/source/gameengine/Expressions/ListValue.cpp @@ -24,10 +24,6 @@ #include "BLO_sys_types.h" /* for intptr_t support */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - ////////////////////////////////////////////////////////////////////// // Construction/Destruction @@ -366,8 +362,8 @@ PyObject* listvalue_buffer_slice(PyObject* self,Py_ssize_t ilow, Py_ssize_t ihig if (ihigh >= n) ihigh = n; - if (ihigh < ilow) - ihigh = ilow; + if (ihigh < ilow) + ihigh = ilow; newlist = PyList_New(ihigh - ilow); if (!newlist) @@ -495,6 +491,8 @@ static PySequenceMethods listvalue_as_sequence = { NULL, /*sq_ass_item*/ NULL, /*sq_ass_slice*/ (objobjproc)listvalue_buffer_contains, /* sq_contains */ + (binaryfunc) NULL, /* sq_inplace_concat */ + (ssizeargfunc) NULL, /* sq_inplace_repeat */ }; |