Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2020-12-18 21:12:32 +0300
committerHans Goudey <h.goudey@me.com>2020-12-18 21:12:32 +0300
commit6be9747b9622e9ea0bacdc7f94b4f575feb659aa (patch)
treef10f9ccbc79803cd39c446cb89c797f388963a87
parent2250b5cefee7f7cce31e388cb83515543ffe60f0 (diff)
Cleanup: Use bool instead of int
-rw-r--r--source/blender/editors/interface/interface_layout.c4
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;