Cleanup: Use bool instead of int

This commit is contained in:
Hans Goudey 2020-12-18 12:12:32 -06:00
parent 2250b5cefe
commit 6be9747b96
1 changed files with 2 additions and 2 deletions

View File

@ -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;