diff options
Diffstat (limited to 'libs/ardour/midi_scene_change.cc')
-rw-r--r-- | libs/ardour/midi_scene_change.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libs/ardour/midi_scene_change.cc b/libs/ardour/midi_scene_change.cc index aede5c4b90..5e9394d2db 100644 --- a/libs/ardour/midi_scene_change.cc +++ b/libs/ardour/midi_scene_change.cc @@ -141,10 +141,10 @@ MIDISceneChange::set_state (const XMLNode& node, int /* version-ignored */) _channel = atoi (prop->value()); if ((prop = node.property (X_("color"))) != 0) { - _color = atoi (prop->value()); - } else { - _color = out_of_bound_color; - } + _color = atoi (prop->value()); + } else { + _color = out_of_bound_color; + } return 0; } @@ -152,7 +152,7 @@ MIDISceneChange::set_state (const XMLNode& node, int /* version-ignored */) bool MIDISceneChange::operator==(const MIDISceneChange& other) const { - return _program == other._program && - _bank == other._bank && - _channel == other._channel; + return _program == other._program && + _bank == other._bank && + _channel == other._channel; } |