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:
authorPhilipp Oeser <info@graphics-engineer.com>2019-09-09 16:23:00 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2019-09-09 16:23:00 +0300
commit8127bbbe39cb10aae65883db94684791fbbd5aa9 (patch)
tree26cded2acb8ea3d15071ea7d8f4d320512e6c983 /source/blender/editors/space_file/file_draw.c
parent5d9c01c53fd58c9f5b9b9ac32995bae865448b7b (diff)
Cleanup: clang-format
Diffstat (limited to 'source/blender/editors/space_file/file_draw.c')
-rw-r--r--source/blender/editors/space_file/file_draw.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/editors/space_file/file_draw.c b/source/blender/editors/space_file/file_draw.c
index e11ca06494d..ca26a56a26e 100644
--- a/source/blender/editors/space_file/file_draw.c
+++ b/source/blender/editors/space_file/file_draw.c
@@ -224,7 +224,7 @@ static void file_draw_preview(uiBlock *block,
float scale;
int ex, ey;
bool show_outline = !is_icon &&
- (typeflags & (FILE_TYPE_IMAGE | FILE_TYPE_MOVIE | FILE_TYPE_BLENDER));
+ (typeflags & (FILE_TYPE_IMAGE | FILE_TYPE_MOVIE | FILE_TYPE_BLENDER));
BLI_assert(imb != NULL);
@@ -315,8 +315,7 @@ static void file_draw_preview(uiBlock *block,
uchar icon_color[4] = {0, 0, 0, 255};
float bgcolor[4];
UI_GetThemeColor4fv(TH_TEXT, bgcolor);
- if (rgb_to_grayscale(bgcolor) < 0.5f)
- {
+ if (rgb_to_grayscale(bgcolor) < 0.5f) {
icon_color[0] = 255;
icon_color[1] = 255;
icon_color[2] = 255;