diff options
Diffstat (limited to 'source/blender/python/api2_2x/Text.c')
-rw-r--r-- | source/blender/python/api2_2x/Text.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Text.c b/source/blender/python/api2_2x/Text.c index 20ab6b10cd7..a447a4ff6ce 100644 --- a/source/blender/python/api2_2x/Text.c +++ b/source/blender/python/api2_2x/Text.c @@ -258,7 +258,7 @@ static PyObject *Text_getNLines(C_Text *self) "couldn't get Text.nlines attribute"); } -static PyObject *Text_rename(C_Text *self, PyObject *args) +static PyObject *Text_setName(C_Text *self, PyObject *args) { char *name; char buf[21]; @@ -426,7 +426,7 @@ static int TextSetAttr (C_Text *self, char *name, PyObject *value) "TextSetAttr: couldn't create PyTuple"); if (strcmp (name, "name") == 0) - error = Text_rename (self, valtuple); + error = Text_setName (self, valtuple); else { /* Error: no such member in the Text Data structure */ Py_DECREF(value); Py_DECREF(valtuple); |