From 2212564f1804e3cc866003b226eac89575d53ade Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Sun, 23 May 2010 12:10:31 +0000 Subject: Fixed invalid use of PyUnicode_FromFormat() where PyUnicode_FromString() should have been used. --- .../intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp') diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp index 818af164a99..a07da518c41 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DMaterial.cpp @@ -73,7 +73,7 @@ static char UnaryFunction0DMaterial_getName___doc__[] = static PyObject * UnaryFunction0DMaterial_getName( BPy_UnaryFunction0DMaterial *self ) { - return PyUnicode_FromFormat( self->uf0D_material->getName().c_str() ); + return PyUnicode_FromString( self->uf0D_material->getName().c_str() ); } static PyObject * UnaryFunction0DMaterial___call__( BPy_UnaryFunction0DMaterial *self, PyObject *args, PyObject *kwds) -- cgit v1.2.3