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>2013-08-29 03:49:22 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-08-29 03:49:22 +0400
commit260d6cd6b51bc2af39987979378011ee03104b32 (patch)
tree3f93b836c2e022ed4bf2fa9e1d480e0a903bbe22 /source/blender/editors/space_file
parent1ac57ccbc8b162ffcbede477683d3d53afa209cd (diff)
micro-optimization, avoid checking is_power_of_2_i once in power_of_2_max_i
also whitespace edit.
Diffstat (limited to 'source/blender/editors/space_file')
-rw-r--r--source/blender/editors/space_file/filelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c
index b427555d1a7..19a6296993d 100644
--- a/source/blender/editors/space_file/filelist.c
+++ b/source/blender/editors/space_file/filelist.c
@@ -157,7 +157,7 @@ static bool compare_is_directory(const struct direntry *entry)
/* for library browse .blend files may be treated as directories, but
* for sorting purposes they should be considered regular files */
if (S_ISDIR(entry->type))
- return !(entry->flags & (BLENDERFILE|BLENDERFILE_BACKUP));
+ return !(entry->flags & (BLENDERFILE | BLENDERFILE_BACKUP));
return false;
}