diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-10-22 02:33:41 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-10-22 02:33:41 +0400 |
commit | 88473fd49a4f5330f8f6a932b0c9eccf28aaa459 (patch) | |
tree | a9a34685c62847942a1c469b446feec712dd43d3 /source/blender/blenlib/intern/storage.c | |
parent | 932aa116df985d21114dcad8c2518f69f8a6a39e (diff) |
Code cleanup: remove BLI_exist, now there is only BLI_exists. One function just
called the other, they did the same thing.
Diffstat (limited to 'source/blender/blenlib/intern/storage.c')
-rw-r--r-- | source/blender/blenlib/intern/storage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c index 7638e95b4ec..8b383f5fd11 100644 --- a/source/blender/blenlib/intern/storage.c +++ b/source/blender/blenlib/intern/storage.c @@ -438,7 +438,7 @@ size_t BLI_filepathsize(const char *path) } -int BLI_exist(const char *name) +int BLI_exists(const char *name) { #if defined(WIN32) && !defined(__MINGW32__) struct _stat64i32 st; @@ -471,7 +471,7 @@ int BLI_exist(const char *name) /* would be better in fileops.c except that it needs stat.h so add here */ int BLI_is_dir(const char *file) { - return S_ISDIR(BLI_exist(file)); + return S_ISDIR(BLI_exists(file)); } LinkNode *BLI_read_file_as_lines(const char *name) |