Cleanup: remove redundant parenthesis (especially with macros)

This commit is contained in:
2022-09-25 22:41:22 +10:00
parent 21d77a417e
commit 0419ee871f
34 changed files with 57 additions and 57 deletions

View File

@@ -435,7 +435,7 @@ eAutoPropButsReturn uiDefAutoButsRNA(uiLayout *layout,
/* Only buttons that can be edited as text. */
const bool use_activate_init = ((prop == prop_activate_init) &&
(ELEM(type, PROP_STRING, PROP_INT, PROP_FLOAT)));
ELEM(type, PROP_STRING, PROP_INT, PROP_FLOAT));
if (use_activate_init) {
uiLayoutSetActivateInit(col, true);