From c8376869b1a521c903a6f8d1be49e48c2966df70 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 26 Apr 2008 13:08:57 +0000 Subject: BLI_split_dirfile was being used in cases it should not have been, Added BLI_split_dirfile_basic, that only splits the path into directory and file. without checking the dir exists or creating it, without changing the original string that is passed to it. --- source/blender/blenlib/BLI_blenlib.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/blenlib/BLI_blenlib.h') diff --git a/source/blender/blenlib/BLI_blenlib.h b/source/blender/blenlib/BLI_blenlib.h index 6c0e42fe42a..33567d92c99 100644 --- a/source/blender/blenlib/BLI_blenlib.h +++ b/source/blender/blenlib/BLI_blenlib.h @@ -96,6 +96,7 @@ void BLI_make_file_string(const char *relabase, char *string, const char *dir, void BLI_make_exist(char *dir); void BLI_make_existing_file(char *name); void BLI_split_dirfile(char *string, char *dir, char *file); +void BLI_split_dirfile_basic(const char *string, char *dir, char *file); void BLI_join_dirfile(char *string, const char *dir, const char *file); int BLI_testextensie(const char *str, const char *ext); void addlisttolist(ListBase *list1, ListBase *list2); -- cgit v1.2.3