Remove excessive parentheses

There are many more.
This commit is contained in:
John Hood
2016-11-07 00:56:02 -05:00
parent 1ae23b4dcc
commit 3346419724
8 changed files with 23 additions and 18 deletions
+2 -2
View File
@@ -584,8 +584,8 @@ void Dispatcher::OSC_dispatch( const Parser::OSC_End *act __attribute((unused)),
cmd_num = OSC_string[ 0 ] - L'0';
offset = 2;
}
bool set_icon = (cmd_num == 0 || cmd_num == 1);
bool set_title = (cmd_num == 0 || cmd_num == 2);
bool set_icon = cmd_num == 0 || cmd_num == 1;
bool set_title = cmd_num == 0 || cmd_num == 2;
if ( set_icon || set_title ) {
fb->set_title_initialized();
int title_length = min(OSC_string.size(), (size_t)256);