diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-12-10 05:25:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-12-10 06:40:01 +0300 |
commit | 65f139117db4aa23f0a59aba788cec843a43b098 (patch) | |
tree | a551b29147816631477438fcecab591d387fa344 /source/blender/python | |
parent | 548e9624d0fe72f3a4a1f5d494f29b123f03bc20 (diff) |
Cleanup: rename BLI_strescape to BLI_str_escape
Prepare for `BLI_str_unescape` which doesn't read well
without the separator.
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/intern/bpy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy.c b/source/blender/python/intern/bpy.c index 804a28d0ebc..2e085f08946 100644 --- a/source/blender/python/intern/bpy.c +++ b/source/blender/python/intern/bpy.c @@ -277,7 +277,7 @@ static PyObject *bpy_escape_identifier(PyObject *UNUSED(self), PyObject *value) size = (value_str_len * 2) + 1; value_escape_str = PyMem_MALLOC(size); - value_escape_str_len = BLI_strescape(value_escape_str, value_str, size); + value_escape_str_len = BLI_str_escape(value_escape_str, value_str, size); if (value_escape_str_len == value_str_len) { Py_INCREF(value); |