typo in function prefix.

This commit is contained in:
2010-10-03 23:29:43 +00:00
parent 11acab00b0
commit 874ffaca7b
4 changed files with 6 additions and 6 deletions

View File

@@ -1012,7 +1012,7 @@ static int pyrna_py_to_prop(PointerRNA *ptr, PropertyRNA *prop, ParameterList *p
PyObject *value_coerce= NULL;
int subtype= RNA_property_subtype(prop);
if(ELEM3(subtype, PROP_FILEPATH, PROP_DIRPATH, PROP_FILENAME)) {
param= PuC_UnicodeAsByte(value, &value_coerce);
param= PyC_UnicodeAsByte(value, &value_coerce);
}
else {
param= _PyUnicode_AsString(value);