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>2015-06-06 14:02:16 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-06-06 14:02:16 +0300
commit50a1ad5bb32fd5705039c992956418cc0d520e33 (patch)
treeb31517efe918ee5198c206fb19d345a14b1b231f /source/blender/blenlib/intern/path_util.c
parent94e7ac5b97dd0b15a53d47c78672b8ed1e8a4bf1 (diff)
Cleanup
Diffstat (limited to 'source/blender/blenlib/intern/path_util.c')
-rw-r--r--source/blender/blenlib/intern/path_util.c6
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;