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>2011-03-11 03:30:51 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-11 03:30:51 +0300
commitd6ca95b1a31799fc36905294410f1c284f7b14be (patch)
treec115b790de9dc3c624bc81cd3e826aa45e0cdf92 /source/blender/blenlib/BLI_path_util.h
parentcda0460c89fae4edcbc277e2c308bbf00135f931 (diff)
fix [#26451] Little problem when selecting relative output path
BLI_path_rel() no longer strips trailing slashes.
Diffstat (limited to 'source/blender/blenlib/BLI_path_util.h')
-rw-r--r--source/blender/blenlib/BLI_path_util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_path_util.h b/source/blender/blenlib/BLI_path_util.h
index b3220937e19..ed52bf30f62 100644
--- a/source/blender/blenlib/BLI_path_util.h
+++ b/source/blender/blenlib/BLI_path_util.h
@@ -132,8 +132,9 @@ void BLI_clean(char *path);
* converts it to a regular full path.
* Also removes garbage from directory paths, like /../ or double slashes etc
*/
-void BLI_cleanup_file(const char *relabase, char *dir);
+void BLI_cleanup_file(const char *relabase, char *dir); /* removes trailing slash */
void BLI_cleanup_dir(const char *relabase, char *dir); /* same as above but adds a trailing slash */
+void BLI_cleanup_path(const char *relabase, char *dir); /* doesn't touch trailing slash */
/* go back one directory */
int BLI_parent_dir(char *path);