diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-06 15:51:00 -0700 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-06 15:54:00 -0700 |
commit | 75260f9c9ba83ffbc46844ebaa5c0e661dc5aeab (patch) | |
tree | a23c4685811b65e24dec1b4781e1bdaa65a9bc61 /gtk2_ardour/editor_sources.cc | |
parent | dd46dfe8d2d5aa57a7bbf14da5b992404fed8b27 (diff) |
fix (potentially serious) typo that confused comparison with assignment
Diffstat (limited to 'gtk2_ardour/editor_sources.cc')
-rw-r--r-- | gtk2_ardour/editor_sources.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_sources.cc b/gtk2_ardour/editor_sources.cc index 3ade49ee55..5ffd23a203 100644 --- a/gtk2_ardour/editor_sources.cc +++ b/gtk2_ardour/editor_sources.cc @@ -321,7 +321,7 @@ EditorSources::remove_weak_region (boost::weak_ptr<ARDOUR::Region> r) TreeModel::Children rows = _model->children(); for (TreeModel::iterator i = rows.begin(); i != rows.end(); ++i) { boost::shared_ptr<ARDOUR::Region> rr = (*i)[_columns.region]; - if (rr = region) { + if (rr == region) { _model->erase(i); break; } |