Cleanup: use UI_ prefix for block flag
[blender.git] / source / blender / editors / interface / interface.c
index 586d6e8efec321acb47edc7535ac6ddb4ec177d4..96f13aad4425966d39d0e8adb99088413841edd5 100644 (file)
@@ -3528,7 +3528,7 @@ static void ui_def_but_rna__menu(bContext *UNUSED(C), uiLayout *layout, void *bu
 static void ui_but_submenu_enable(uiBlock *block, uiBut *but)
 {
        but->flag |= UI_BUT_ICON_SUBMENU;
-       block->content_hints |= BLOCK_CONTAINS_SUBMENU_BUT;
+       block->content_hints |= UI_BLOCK_CONTAINS_SUBMENU_BUT;
 }
 
 /**