update cmake checker to ignore file list and add some headers to the source list.
[blender.git] / source / blender / python / intern / bpy_rna.c
index b9af75834e0ff24e67f74f2b0dc26f3a1dc79dbd..c1c7e0ea740be33a43f5cd8877db11e743b3a434 100644 (file)
@@ -1473,7 +1473,7 @@ static int pyrna_py_to_prop(PointerRNA *ptr, PropertyRNA *prop, void *data, PyOb
                                param= _PyUnicode_AsString(value);
                        }
 #else // USE_STRING_COERCE
-                       param= _PyUnicode_AsStringSize(value);
+                       param= _PyUnicode_AsString(value);
 #endif // USE_STRING_COERCE
 
                        if (param==NULL) {