From 4122ff891c89e2bf9d67b1d487591d83c15cf8bb Mon Sep 17 00:00:00 2001 From: Térence Clastres Date: Wed, 15 Aug 2018 11:48:37 +0200 Subject: Code styling: remove whitespaces between parenthesis --- libs/surfaces/launch_control_xl/controllers.cc | 6 +++--- libs/surfaces/launch_control_xl/launch_control_xl.cc | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libs/surfaces/launch_control_xl/controllers.cc b/libs/surfaces/launch_control_xl/controllers.cc index 21ab491848..95345a64e0 100644 --- a/libs/surfaces/launch_control_xl/controllers.cc +++ b/libs/surfaces/launch_control_xl/controllers.cc @@ -410,9 +410,9 @@ LaunchControlXL::button_track_mode(TrackMode state) TrackStateButton* solo = static_cast(id_note_button_map[Solo]); TrackStateButton* record = static_cast(id_note_button_map[Record]); - write(mute->state_msg( (state == TrackMute) )); - write(solo->state_msg( (state == TrackSolo) )); - write(record->state_msg( (state == TrackRecord) )); + write(mute->state_msg((state == TrackMute))); + write(solo->state_msg((state == TrackSolo))); + write(record->state_msg((state == TrackRecord))); } void diff --git a/libs/surfaces/launch_control_xl/launch_control_xl.cc b/libs/surfaces/launch_control_xl/launch_control_xl.cc index 7c405df7ad..aeeae77ce8 100644 --- a/libs/surfaces/launch_control_xl/launch_control_xl.cc +++ b/libs/surfaces/launch_control_xl/launch_control_xl.cc @@ -811,7 +811,7 @@ LaunchControlXL::stripable_property_change (PropertyChange const& what_changed, return; } if (which < 8) { - button_track_focus( (uint8_t)which ); + button_track_focus((uint8_t)which); } } @@ -843,8 +843,8 @@ LaunchControlXL::switch_bank (uint32_t base) } if (sl && sr) { - write(sl->state_msg( (base) )); - write(sr->state_msg( (s[1] != 0) )); + write(sl->state_msg((base))); + write(sr->state_msg((s[1] != 0))); } if (!s[0]) { -- cgit v1.2.3