From f7e674ffeb6ddbec430c1796d97f1cbe2b0e86d3 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 11 Apr 2021 13:24:46 +0100 Subject: [PATCH] Whitespace cleanup Signed-off-by: falkTX --- source/backend/plugin/CarlaPluginJuce.cpp | 4 +--- source/frontend/midipattern-ui | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/source/backend/plugin/CarlaPluginJuce.cpp b/source/backend/plugin/CarlaPluginJuce.cpp index f9b1b914a..974e64d07 100644 --- a/source/backend/plugin/CarlaPluginJuce.cpp +++ b/source/backend/plugin/CarlaPluginJuce.cpp @@ -1518,11 +1518,9 @@ public: pData->options |= PLUGIN_OPTION_SKIP_SENDING_NOTES; } - if (fInstance->getNumPrograms() > 1 && ((pData->options & PLUGIN_OPTION_SEND_PROGRAM_CHANGES) == 0)) - { + if (fInstance->getNumPrograms() > 1 && (pData->options & PLUGIN_OPTION_SEND_PROGRAM_CHANGES) == 0) if (isPluginOptionEnabled(options, PLUGIN_OPTION_MAP_PROGRAM_CHANGES)) pData->options |= PLUGIN_OPTION_MAP_PROGRAM_CHANGES; - } return true; } diff --git a/source/frontend/midipattern-ui b/source/frontend/midipattern-ui index d4c93864a..162eb2e92 100755 --- a/source/frontend/midipattern-ui +++ b/source/frontend/midipattern-ui @@ -328,7 +328,6 @@ class MidiPatternW(ExternalUI, QMainWindow): (time-on_time)/self.TICKS_PER_BEAT/self.fTimeSignature[0], on_velo) - #--------------- main ------------------ if __name__ == '__main__': import resources_rc