UI: Remove Extraneous Parentheses

My #120117 introduced a build warning for extraneous parentheses, this
PR just removes those.

Pull Request: https://projects.blender.org/blender/blender/pulls/120193
This commit is contained in:
Harley Acheson 2024-04-03 01:09:20 +02:00 committed by Harley Acheson
parent 96ce5a1fd1
commit bc099fe808
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ void icon_draw_rect_input(
SNPRINTF(str, "%s%i", BLI_STR_UTF8_CIRCLED_WHITE_BULLET, 1 + event_type - NDOF_BUTTON_1);
icon_draw_rect_input_text(&rect, color, str, 9.0f, 0.0f);
}
else if ((event_type == NDOF_BUTTON_10)) {
else if (event_type == NDOF_BUTTON_10) {
icon_draw_rect_input_text(&rect, color, BLI_STR_UTF8_CIRCLED_WHITE_BULLET "10", 7.5f, 0.0f);
}
else if ((event_type >= NDOF_BUTTON_A) && (event_type <= NDOF_BUTTON_C)) {