diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-24 08:24:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-25 01:02:04 +0300 |
commit | a38313c3bdf1a250fb7dc93fefd8f89e81965a1e (patch) | |
tree | 3a15d917040dcad277d973c3cf8254b1820ac248 /source/blender/editors/interface/interface_widgets.c | |
parent | ff8c32fa6b57d130bcc118c39523d566919fe6da (diff) |
Cleanup: style, array wrapping
Add trailing comma for clang-format.
Diffstat (limited to 'source/blender/editors/interface/interface_widgets.c')
-rw-r--r-- | source/blender/editors/interface/interface_widgets.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c index e0b896fd9cf..dce418ab25a 100644 --- a/source/blender/editors/interface/interface_widgets.c +++ b/source/blender/editors/interface/interface_widgets.c @@ -4705,11 +4705,7 @@ void ui_draw_pie_center(uiBlock *block) float pie_confirm_radius = U.dpi_fac * (pie_radius_internal + U.pie_menu_confirm); float pie_confirm_external = U.dpi_fac * (pie_radius_internal + U.pie_menu_confirm + 7.0f); - const char col[4] = {btheme->tui.wcol_pie_menu.text_sel[0], - btheme->tui.wcol_pie_menu.text_sel[1], - btheme->tui.wcol_pie_menu.text_sel[2], - 64}; - + const char col[4] = {UNPACK3(btheme->tui.wcol_pie_menu.text_sel), 64}; draw_disk_shaded(angle - range / 2.0f, range, pie_confirm_radius, pie_confirm_external, subd, col, NULL, false); } |