diff options
Diffstat (limited to 'source/gameengine/Expressions/ListValue.cpp')
-rw-r--r-- | source/gameengine/Expressions/ListValue.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/gameengine/Expressions/ListValue.cpp b/source/gameengine/Expressions/ListValue.cpp index 4e048b1a875..2c8cffbef82 100644 --- a/source/gameengine/Expressions/ListValue.cpp +++ b/source/gameengine/Expressions/ListValue.cpp @@ -400,7 +400,7 @@ static PyObject *listvalue_buffer_concat(PyObject * self, PyObject * other) // and CListValue concatenated to Python Lists // and CListValue concatenated with another CListValue - /* Shallow copy, dont use listval->GetReplica(), it will screw up with KX_GameObjects */ + /* Shallow copy, don't use listval->GetReplica(), it will screw up with KX_GameObjects */ CListValue* listval_new = new CListValue(); if (PyList_Check(other)) @@ -428,7 +428,7 @@ static PyObject *listvalue_buffer_concat(PyObject * self, PyObject * other) } if (error) { - listval_new->Resize(numitems_orig+i); /* resize so we dont try release NULL pointers */ + listval_new->Resize(numitems_orig+i); /* resize so we don't try release NULL pointers */ listval_new->Release(); return NULL; /* ConvertPythonToValue above sets the error */ } @@ -446,7 +446,7 @@ static PyObject *listvalue_buffer_concat(PyObject * self, PyObject * other) numitems = otherval->GetCount(); /* copy the first part of the list */ - listval_new->Resize(numitems_orig + numitems); /* resize so we dont try release NULL pointers */ + listval_new->Resize(numitems_orig + numitems); /* resize so we don't try release NULL pointers */ for (i=0;i<numitems_orig;i++) listval_new->SetValue(i, listval->GetValue(i)->AddRef()); |