diff options
author | Hans Goudey <h.goudey@me.com> | 2020-12-18 21:12:32 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-12-18 21:12:32 +0300 |
commit | 6be9747b9622e9ea0bacdc7f94b4f575feb659aa (patch) | |
tree | f10f9ccbc79803cd39c446cb89c797f388963a87 /source/blender | |
parent | 2250b5cefee7f7cce31e388cb83515543ffe60f0 (diff) |
Cleanup: Use bool instead of int
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/interface/interface_layout.c | 4 |
1 files 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; |