diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-05-08 17:57:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-05-08 17:57:07 +0300 |
commit | fa69ce9e3a682426aa0d247f4720571889d5a6c2 (patch) | |
tree | eacdf128815663264471c4c66b226ecf4206c77e /source/blender/editors/screen/area.c | |
parent | 5b3559576de5d9896ca2a7f200e1e51ee0fc8af5 (diff) |
Cleanup: whitespace, duplicate includes
Diffstat (limited to 'source/blender/editors/screen/area.c')
-rw-r--r-- | source/blender/editors/screen/area.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index d0d19398f5b..ad4f6b0179d 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -998,7 +998,7 @@ static bool region_is_overlap(ScrArea *sa, ARegion *ar) if (ar->regiontype == RGN_TYPE_HEADER) return 1; } - else if(sa->spacetype == SPACE_SEQ) { + else if (sa->spacetype == SPACE_SEQ) { if (ar->regiontype == RGN_TYPE_PREVIEW) return 1; } @@ -1898,8 +1898,8 @@ void ED_region_panels(const bContext *C, ARegion *ar, const char *context, int c if (pt->draw_header && !(pt->flag & PNL_NO_HEADER) && (open || vertical)) { /* for enabled buttons */ panel->layout = UI_block_layout( - block, UI_LAYOUT_HORIZONTAL, UI_LAYOUT_HEADER, - triangle, (UI_UNIT_Y * 1.1f) + style->panelspace, UI_UNIT_Y, 1, 0, style); + block, UI_LAYOUT_HORIZONTAL, UI_LAYOUT_HEADER, + triangle, (UI_UNIT_Y * 1.1f) + style->panelspace, UI_UNIT_Y, 1, 0, style); pt->draw_header(C, panel); @@ -1921,8 +1921,8 @@ void ED_region_panels(const bContext *C, ARegion *ar, const char *context, int c panelContext = UI_LAYOUT_PANEL; panel->layout = UI_block_layout( - block, UI_LAYOUT_VERTICAL, panelContext, - style->panelspace, 0, w - 2 * style->panelspace, em, 0, style); + block, UI_LAYOUT_VERTICAL, panelContext, + style->panelspace, 0, w - 2 * style->panelspace, em, 0, style); pt->draw(C, panel); |