Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-05-23 16:10:31 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-05-23 16:10:31 +0400
commit2212564f1804e3cc866003b226eac89575d53ade (patch)
tree400e453e3995c849dde449236ab28a8e22c65692 /source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp
parentff3c742211a96fc0c1267fc0cab502bb16cfdba8 (diff)
Fixed invalid use of PyUnicode_FromFormat() where PyUnicode_FromString()
should have been used.
Diffstat (limited to 'source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp')
-rw-r--r--source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp
index ff20ee6d7c4..f7086335038 100644
--- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp
+++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp
@@ -83,7 +83,7 @@ static char UnaryFunction1DFloat_getName___doc__[] =
static PyObject * UnaryFunction1DFloat_getName( BPy_UnaryFunction1DFloat *self )
{
- return PyUnicode_FromFormat( self->uf1D_float->getName().c_str() );
+ return PyUnicode_FromString( self->uf1D_float->getName().c_str() );
}
static PyObject * UnaryFunction1DFloat___call__( BPy_UnaryFunction1DFloat *self, PyObject *args, PyObject *kwds)