diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-11 08:08:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-11 08:08:08 +0300 |
commit | 0117a4c351e59711eaea314db3315db0a57c01ee (patch) | |
tree | e3fc6876e2c3622f329bdfb569f5f717fe064217 /source/blender/editors/interface/interface_widgets.c | |
parent | bdf215ca8246b1fe6691226b09fc855a09d40f21 (diff) |
Cleanup: use UI_ prefix for block flag
Diffstat (limited to 'source/blender/editors/interface/interface_widgets.c')
-rw-r--r-- | source/blender/editors/interface/interface_widgets.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c index 661de5c344b..dd57a27102f 100644 --- a/source/blender/editors/interface/interface_widgets.c +++ b/source/blender/editors/interface/interface_widgets.c @@ -2089,7 +2089,7 @@ static void widget_draw_text_icon(uiFontStyle *fstyle, uiWidgetColors *wcol, uiB widget_draw_icon(but, icon, alpha, rect); if (show_menu_icon) { - BLI_assert(but->block->content_hints & BLOCK_CONTAINS_SUBMENU_BUT); + BLI_assert(but->block->content_hints & UI_BLOCK_CONTAINS_SUBMENU_BUT); widget_draw_submenu_tria(but, rect, wcol); } @@ -2109,7 +2109,7 @@ static void widget_draw_text_icon(uiFontStyle *fstyle, uiWidgetColors *wcol, uiB /* Menu contains sub-menu items with triangle icon on their right. Shortcut * strings should be drawn with some padding to the right then. */ - if (ui_block_is_menu(but->block) && (but->block->content_hints & BLOCK_CONTAINS_SUBMENU_BUT)) { + if (ui_block_is_menu(but->block) && (but->block->content_hints & UI_BLOCK_CONTAINS_SUBMENU_BUT)) { rect->xmax -= UI_MENU_SUBMENU_PADDING; } |