diff options
Diffstat (limited to 'source/blender/python/generic/blf_py_api.c')
-rw-r--r-- | source/blender/python/generic/blf_py_api.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/python/generic/blf_py_api.c b/source/blender/python/generic/blf_py_api.c index a4373e46e23..5b5438defee 100644 --- a/source/blender/python/generic/blf_py_api.c +++ b/source/blender/python/generic/blf_py_api.c @@ -182,7 +182,7 @@ static PyObject *py_blf_dimensions(PyObject *UNUSED(self), PyObject *args) BLF_width_and_height(fontid, text, &r_width, &r_height); - ret= PyTuple_New(2); + ret = PyTuple_New(2); PyTuple_SET_ITEM(ret, 0, PyFloat_FromDouble(r_width)); PyTuple_SET_ITEM(ret, 1, PyFloat_FromDouble(r_height)); return ret; @@ -356,7 +356,7 @@ PyDoc_STRVAR(py_blf_load_doc, ); static PyObject *py_blf_load(PyObject *UNUSED(self), PyObject *args) { - char* filename; + char *filename; if (!PyArg_ParseTuple(args, "s:blf.load", &filename)) return NULL; @@ -374,7 +374,7 @@ PyDoc_STRVAR(py_blf_unload_doc, ); static PyObject *py_blf_unload(PyObject *UNUSED(self), PyObject *args) { - char* filename; + char *filename; if (!PyArg_ParseTuple(args, "s:blf.unload", &filename)) return NULL; |