Cleanup: redundant parenthesis

This commit is contained in:
2022-10-07 22:52:53 +11:00
parent 11abeae99f
commit 331f850056
253 changed files with 597 additions and 614 deletions

View File

@@ -251,7 +251,7 @@ bool ui_but_contains_point_px_icon(const uiBut *but, ARegion *region, const wmEv
/* use button size itself */
}
else if (but->drawflag & UI_BUT_ICON_LEFT) {
rect.xmax = rect.xmin + (BLI_rcti_size_y(&rect));
rect.xmax = rect.xmin + BLI_rcti_size_y(&rect);
}
else {
const int delta = BLI_rcti_size_x(&rect) - BLI_rcti_size_y(&rect);