diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-08-29 03:49:22 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-08-29 03:49:22 +0400 |
commit | 260d6cd6b51bc2af39987979378011ee03104b32 (patch) | |
tree | 3f93b836c2e022ed4bf2fa9e1d480e0a903bbe22 /source/blender/editors/space_file | |
parent | 1ac57ccbc8b162ffcbede477683d3d53afa209cd (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.c | 2 |
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; } |