diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-06 14:02:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-06-06 14:02:16 +0300 |
commit | 50a1ad5bb32fd5705039c992956418cc0d520e33 (patch) | |
tree | b31517efe918ee5198c206fb19d345a14b1b231f /source/blender/blenlib/intern | |
parent | 94e7ac5b97dd0b15a53d47c78672b8ed1e8a4bf1 (diff) |
Cleanup
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r-- | source/blender/blenlib/intern/path_util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c index d3352e24722..b1a7d74e46f 100644 --- a/source/blender/blenlib/intern/path_util.c +++ b/source/blender/blenlib/intern/path_util.c @@ -946,7 +946,7 @@ void BLI_path_frame_strip(char *path, bool setsharp, char *ext) c++; - if(numdigits) { + if (numdigits) { /* replace the number with the suffix and terminate the string */ while (numdigits--) { if (ext) *ext++ = *suffix; @@ -1161,8 +1161,8 @@ bool BLI_path_program_extensions_add_win32(char *name, const size_t maxlen) memcpy(filename_ext, ext, ext_len); filename_ext[ext_len] = '\0'; - type = BLI_exists(filename); - if (type && (!S_ISDIR(type))) { + type = BLI_exists(filename); + if (type && (!S_ISDIR(type))) { retval = true; BLI_strncpy(name, filename, maxlen); break; |