diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-05-23 16:10:31 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-05-23 16:10:31 +0400 |
commit | 2212564f1804e3cc866003b226eac89575d53ade (patch) | |
tree | 400e453e3995c849dde449236ab28a8e22c65692 /source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp | |
parent | ff3c742211a96fc0c1267fc0cab502bb16cfdba8 (diff) |
Fixed invalid use of PyUnicode_FromFormat() where PyUnicode_FromString()
should have been used.
Diffstat (limited to 'source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp index ddf42e7851d..73ece629639 100644 --- a/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp +++ b/source/blender/freestyle/intern/python/UnaryFunction0D/BPy_UnaryFunction0DUnsigned.cpp @@ -72,7 +72,7 @@ static char UnaryFunction0DUnsigned_getName___doc__[] = static PyObject * UnaryFunction0DUnsigned_getName( BPy_UnaryFunction0DUnsigned *self ) { - return PyUnicode_FromFormat( self->uf0D_unsigned->getName().c_str() ); + return PyUnicode_FromString( self->uf0D_unsigned->getName().c_str() ); } static PyObject * UnaryFunction0DUnsigned___call__( BPy_UnaryFunction0DUnsigned *self, PyObject *args, PyObject *kwds) |