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:
authorCampbell Barton <ideasman42@gmail.com>2020-03-06 16:35:55 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-03-06 16:39:28 +0300
commit4102d67d32ad2d8411d1ef15e80d3373f36e262b (patch)
tree4121d33d28002d7003a1c5174eba5baca90f8672 /source/blender/blenkernel/intern/bpath.c
parent2d5773d11a0698f1cf421d7fc7c7d823be601124 (diff)
Cleanup: avoid use of BLI_cleanup_dir
Some cases don't need to add the trailing slash. Use BLI_cleanup_path in this case.
Diffstat (limited to 'source/blender/blenkernel/intern/bpath.c')
-rw-r--r--source/blender/blenkernel/intern/bpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/bpath.c b/source/blender/blenkernel/intern/bpath.c
index 38f0e516beb..ef049afc0f3 100644
--- a/source/blender/blenkernel/intern/bpath.c
+++ b/source/blender/blenkernel/intern/bpath.c
@@ -811,7 +811,7 @@ bool BKE_bpath_relocate_visitor(void *pathbase_v, char *path_dst, const char *pa
BLI_strncpy(filepath, path_src, FILE_MAX);
if (BLI_path_abs(filepath, base_old)) {
/* Path was relative and is now absolute. Remap.
- * Important BLI_cleanup_dir runs before the path is made relative
+ * Important BLI_cleanup_path runs before the path is made relative
* because it wont work for paths that start with "//../" */
BLI_cleanup_path(base_new, filepath);
BLI_path_rel(filepath, base_new);