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-07-25 01:25:06 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-07-25 01:25:06 +0400
commitec3fce8e27755410ff4881abd5b299c2c91a3673 (patch)
tree8a58aae41a028d9bca62f269ae9f62012690a11d /source/blender/imbuf
parent9c0e331f8103f6e0b332cac2f4055d7307b14970 (diff)
add api function BLI_path_append to add to a path (and ensure a seperator), replaces BLI_join_dirfile when the dir and the destimation were the same.
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r--source/blender/imbuf/intern/indexer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/indexer.c b/source/blender/imbuf/intern/indexer.c
index c66f2d62db2..7acfe8a9dd1 100644
--- a/source/blender/imbuf/intern/indexer.c
+++ b/source/blender/imbuf/intern/indexer.c
@@ -366,8 +366,8 @@ static void get_index_dir(struct anim *anim, char *index_dir, size_t index_dir_l
if (!anim->index_dir[0]) {
char fname[FILE_MAXFILE];
BLI_split_dirfile(anim->name, index_dir, fname, index_dir_len, sizeof(fname));
- BLI_join_dirfile(index_dir, index_dir_len, index_dir, "BL_proxy");
- BLI_join_dirfile(index_dir, index_dir_len, index_dir, fname);
+ BLI_path_append(index_dir, index_dir_len, "BL_proxy");
+ BLI_path_append(index_dir, index_dir_len, fname);
}
else {
BLI_strncpy(index_dir, anim->index_dir, index_dir_len);