Formatting. Adds spaces before parentheses

This commit is contained in:
Caleb Potter 2022-04-12 10:28:52 -05:00 committed by Paul Davis
parent 8e375f5acd
commit f3bd740913

View file

@ -732,17 +732,17 @@ bool SendsSubview::handle_cursor_left_press()
bool SendsSubview::handle_cursor_right_press() bool SendsSubview::handle_cursor_right_press()
{ {
uint32_t num_sends = 0; uint32_t num_sends = 0;
if(_subview_stripable->send_name(0).size() > 0) { if (_subview_stripable->send_name(0).size() > 0) {
bool more_sends = true; bool more_sends = true;
while(more_sends) { while (more_sends) {
if(_subview_stripable->send_name(num_sends).size() > 0) { if (_subview_stripable->send_name(num_sends).size() > 0) {
num_sends++; num_sends++;
} else { } else {
more_sends = false; more_sends = false;
} }
} }
} }
if(num_sends > _current_bank + 1) { if (num_sends > _current_bank + 1) {
_current_bank += 1; _current_bank += 1;
mcp().redisplay_subview_mode(); mcp().redisplay_subview_mode();
} }