[Bf-blender-cvs] [6be9747b962] master: Cleanup: Use bool instead of int
Hans Goudey
noreply at git.blender.org
Fri Dec 18 19:12:42 CET 2020
Commit: 6be9747b9622e9ea0bacdc7f94b4f575feb659aa
Author: Hans Goudey
Date: Fri Dec 18 12:12:32 2020 -0600
Branches: master
https://developer.blender.org/rB6be9747b9622e9ea0bacdc7f94b4f575feb659aa
Cleanup: Use bool instead of int
===================================================================
M source/blender/editors/interface/interface_layout.c
===================================================================
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;
More information about the Bf-blender-cvs
mailing list