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_region_popup.c | |
parent | bdf215ca8246b1fe6691226b09fc855a09d40f21 (diff) |
Cleanup: use UI_ prefix for block flag
Diffstat (limited to 'source/blender/editors/interface/interface_region_popup.c')
-rw-r--r-- | source/blender/editors/interface/interface_region_popup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_region_popup.c b/source/blender/editors/interface/interface_region_popup.c index 5f379736a7a..b62857983df 100644 --- a/source/blender/editors/interface/interface_region_popup.c +++ b/source/blender/editors/interface/interface_region_popup.c @@ -116,7 +116,7 @@ static void ui_popup_block_position(wmWindow *window, ARegion *butregion, uiBut BLI_rctf_init_minmax(&block->rect); for (uiBut *bt = block->buttons.first; bt; bt = bt->next) { - if (block->content_hints & BLOCK_CONTAINS_SUBMENU_BUT) { + if (block->content_hints & UI_BLOCK_CONTAINS_SUBMENU_BUT) { bt->rect.xmax += UI_MENU_SUBMENU_PADDING; } BLI_rctf_union(&block->rect, &bt->rect); |