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>2013-03-05 08:35:14 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-03-05 08:35:14 +0400
commit34233e7fd661dbd378c4e11a1e0d29ed639fbffa (patch)
treea1c692000a85db48a7484184653e9113d5a4aad6 /source/blender/blenlib/BLI_path_util.h
parent65d6cecd68a22f140d2acc0d8dd5abf68723ed2e (diff)
patch [#34103] path_util_cleanups.patch
from Lawrence D'Oliveiro (ldo) - Better argument name for BLI_cleanup_path and BLI_cleanup_file - remove redundant BLI_add_slash already done by BLI_cleanup_dir
Diffstat (limited to 'source/blender/blenlib/BLI_path_util.h')
-rw-r--r--source/blender/blenlib/BLI_path_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_path_util.h b/source/blender/blenlib/BLI_path_util.h
index 301e2c02018..92c68dee24d 100644
--- a/source/blender/blenlib/BLI_path_util.h
+++ b/source/blender/blenlib/BLI_path_util.h
@@ -132,9 +132,9 @@ __attribute__((nonnull(1)))
* 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); /* removes trailing slash */
+void BLI_cleanup_file(const char *relabase, char *path); /* 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 */
+void BLI_cleanup_path(const char *relabase, char *path); /* doesn't touch trailing slash */
/* go back one directory */
bool BLI_parent_dir(char *path);