Browse Source

Whitespace cleanup

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.3.0
falkTX 3 years ago
parent
commit
f7e674ffeb
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 1 additions and 4 deletions
  1. +1
    -3
      source/backend/plugin/CarlaPluginJuce.cpp
  2. +0
    -1
      source/frontend/midipattern-ui

+ 1
- 3
source/backend/plugin/CarlaPluginJuce.cpp View File

@@ -1518,11 +1518,9 @@ public:
pData->options |= PLUGIN_OPTION_SKIP_SENDING_NOTES; 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)) if (isPluginOptionEnabled(options, PLUGIN_OPTION_MAP_PROGRAM_CHANGES))
pData->options |= PLUGIN_OPTION_MAP_PROGRAM_CHANGES; pData->options |= PLUGIN_OPTION_MAP_PROGRAM_CHANGES;
}


return true; return true;
} }


+ 0
- 1
source/frontend/midipattern-ui View File

@@ -328,7 +328,6 @@ class MidiPatternW(ExternalUI, QMainWindow):
(time-on_time)/self.TICKS_PER_BEAT/self.fTimeSignature[0], (time-on_time)/self.TICKS_PER_BEAT/self.fTimeSignature[0],
on_velo) on_velo)



#--------------- main ------------------ #--------------- main ------------------
if __name__ == '__main__': if __name__ == '__main__':
import resources_rc import resources_rc


Loading…
Cancel
Save