From 6be9747b9622e9ea0bacdc7f94b4f575feb659aa Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Fri, 18 Dec 2020 12:12:32 -0600 Subject: [PATCH] Cleanup: Use bool instead of int --- source/blender/editors/interface/interface_layout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c index 4b19b8f97f4..b3c34b3fb43 100644 --- a/source/blender/editors/interface/interface_layout.c +++ b/source/blender/editors/interface/interface_layout.c @@ -5485,8 +5485,8 @@ uiLayout *UI_block_layout(uiBlock *block, layout->y = y; layout->root = root; layout->space = style->templatespace; - layout->active = 1; - layout->enabled = 1; + layout->active = true; + layout->enabled = true; layout->context = NULL; layout->emboss = UI_EMBOSS_UNDEFINED;