diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-12-10 08:01:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-12-10 08:12:25 +0300 |
commit | 3ec7cf64bcf8b8bfa098529c784d73c41f46a348 (patch) | |
tree | 76b447a7c81aa70d9d3fcb63f50e79f8fdd8c230 /source/blender/editors/animation/anim_deps.c | |
parent | 2814cdbd86389516eeea570ae12f7c2c7338d81b (diff) |
Fix BLI_str_quoted_substrN use with escaped strings
BLI_str_quoted_substrN didn't unescape the resulting string,
yet all callers were using this with animation paths which are
created using BLI_str_escape().
- Fix BLI_str_quoted_substrN use with escaped strings by calling
BLI_str_unescape().
Note that it's possible we want an a version of this function that
keeps escape characters. This could be added if it's required.
- Fix end quote detection using BLI_str_escape_find_quote
checking for `\"` isn't reliable since an even number of back-slashes
before a quote means it's not escaped.
Diffstat (limited to 'source/blender/editors/animation/anim_deps.c')
0 files changed, 0 insertions, 0 deletions