diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-08-16 18:17:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-08-16 18:17:11 +0300 |
commit | d489aa295534ec008c1a0a504247afbfed5c21dd (patch) | |
tree | a78c6d187c188bbe662085e3ef9b300bbd4f5e5b /source | |
parent | 27907408136cd3339beac5ea98318830ff837ab6 (diff) |
Cleanup: clang-format
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/interface/interface_templates.c | 20 | ||||
-rw-r--r-- | source/blender/windowmanager/intern/wm_window.c | 4 |
2 files changed, 12 insertions, 12 deletions
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c index 0cd048323f1..ae0823eb550 100644 --- a/source/blender/editors/interface/interface_templates.c +++ b/source/blender/editors/interface/interface_templates.c @@ -6393,16 +6393,16 @@ void uiTemplateReportsBanner(uiLayout *layout, bContext *C) } but = uiDefButO(block, - UI_BTYPE_BUT, - "SCREEN_OT_info_log_show", - WM_OP_INVOKE_REGION_WIN, - report->message, - UI_UNIT_X + 5, - 0, - UI_UNIT_X + width, - UI_UNIT_Y, - "Show in Info Log"); - rgba_float_to_uchar(but->col, rti->col); + UI_BTYPE_BUT, + "SCREEN_OT_info_log_show", + WM_OP_INVOKE_REGION_WIN, + report->message, + UI_UNIT_X + 5, + 0, + UI_UNIT_X + width, + UI_UNIT_Y, + "Show in Info Log"); + rgba_float_to_uchar(but->col, rti->col); } void uiTemplateInputStatus(uiLayout *layout, struct bContext *C) diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c index 9443dddb59a..19fa0e87e50 100644 --- a/source/blender/windowmanager/intern/wm_window.c +++ b/source/blender/windowmanager/intern/wm_window.c @@ -894,7 +894,7 @@ wmWindow *WM_window_open_temp(bContext *C, int x, int y, int sizex, int sizey, i ED_area_newspace(C, sa, SPACE_GRAPH, false); } else if (type == WM_WINDOW_INFO) { - ED_area_newspace(C,sa, SPACE_INFO,false); + ED_area_newspace(C, sa, SPACE_INFO, false); } else { ED_area_newspace(C, sa, SPACE_USERPREF, false); @@ -920,7 +920,7 @@ wmWindow *WM_window_open_temp(bContext *C, int x, int y, int sizex, int sizey, i else if (sa->spacetype == SPACE_GRAPH) { title = IFACE_("Blender Drivers Editor"); } - else if (sa->spacetype == SPACE_INFO){ + else if (sa->spacetype == SPACE_INFO) { title = IFACE_("Blender Info Log"); } else { |