diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-05 10:26:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-05 10:26:10 +0400 |
commit | 384948908afd5567d6c730a8045a368e8c08e436 (patch) | |
tree | 5fd9e156242aedd9271a8d54ed02b5dc9149fb44 /source/blender/blenlib/intern/fileops.c | |
parent | 34233e7fd661dbd378c4e11a1e0d29ed639fbffa (diff) |
patch [#34103] path_util_split_dirstring.patch, path_util_split_dirstring_2.patch, path_util_split_dirstring_3.patch
from Lawrence D'Oliveiro (ldo)
Get rid of BLI_splitdirstring, replace with calls to BLI_split_dirfile, BLI_split_dir_part and BLI_split_file_part as appropriate.
Diffstat (limited to 'source/blender/blenlib/intern/fileops.c')
-rw-r--r-- | source/blender/blenlib/intern/fileops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/fileops.c b/source/blender/blenlib/intern/fileops.c index 3f8b21103b8..937fdf5f787 100644 --- a/source/blender/blenlib/intern/fileops.c +++ b/source/blender/blenlib/intern/fileops.c @@ -176,7 +176,7 @@ bool BLI_file_is_writable(const char *filename) else { /* file doesn't exist -- check I can create it in parent directory */ char parent[FILE_MAX]; - BLI_split_dirfile(filename, parent, NULL, sizeof parent, 0); + BLI_split_dirfile(filename, parent, NULL, sizeof(parent), 0); writable = access(parent, X_OK | W_OK) == 0; } return writable; |