diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-06 16:58:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-07 01:15:07 +0300 |
commit | b4a77a351e31256c91e573b85b7252e3ca6d61e7 (patch) | |
tree | 9db5ba44e217789f632f90d44babafa4aea1da5f /source/blender/editors/interface/interface_region_hud.c | |
parent | d5c24f2030ecbd109f54bd49c254fd028c30cc00 (diff) |
Cleanup: add trailing commas to structs
Diffstat (limited to 'source/blender/editors/interface/interface_region_hud.c')
-rw-r--r-- | source/blender/editors/interface/interface_region_hud.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/interface/interface_region_hud.c b/source/blender/editors/interface/interface_region_hud.c index c30958a4d3a..cc87b829034 100644 --- a/source/blender/editors/interface/interface_region_hud.c +++ b/source/blender/editors/interface/interface_region_hud.c @@ -213,7 +213,7 @@ static void hud_region_draw(const bContext *C, ARegion *ar) GPU_clear(GPU_COLOR_BIT); if ((ar->flag & RGN_FLAG_HIDDEN) == 0) { - ui_draw_menu_back(NULL, NULL, &(rcti){.xmax = ar->winx, .ymax = ar->winy}); + ui_draw_menu_back(NULL, NULL, &(rcti){ .xmax = ar->winx, .ymax = ar->winy, }); ED_region_panels_draw(C, ar); } } @@ -337,7 +337,7 @@ void ED_area_type_hud_ensure(bContext *C, ScrArea *sa) ED_region_tag_redraw(ar); /* Reset zoom level (not well supported). */ - ar->v2d.cur = ar->v2d.tot = (rctf){.xmax = ar->winx, .ymax = ar->winy}; + ar->v2d.cur = ar->v2d.tot = (rctf){ .xmax = ar->winx, .ymax = ar->winy, }; ar->v2d.minzoom = 1.0f; ar->v2d.maxzoom = 1.0f; @@ -352,7 +352,7 @@ void ED_area_type_hud_ensure(bContext *C, ScrArea *sa) if (was_hidden) { ar->winx = ar->v2d.winx; ar->winy = ar->v2d.winy; - ar->v2d.cur = ar->v2d.tot = (rctf){.xmax = ar->winx, .ymax = ar->winy}; + ar->v2d.cur = ar->v2d.tot = (rctf){ .xmax = ar->winx, .ymax = ar->winy, }; } CTX_wm_region_set((bContext *)C, ar_prev); } |