projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2304a51
)
No-op; coding style.
author
Carl Hetherington
<carl@carlh.net>
Sun, 20 Feb 2011 17:30:02 +0000
(17:30 +0000)
committer
Carl Hetherington
<carl@carlh.net>
Sun, 20 Feb 2011 17:30:02 +0000
(17:30 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@8910
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/audio_region_view.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/audio_region_view.cc
b/gtk2_ardour/audio_region_view.cc
index 4a5a477a5ceea1319ebe22ba0a3f5729d51c2d28..d88b6b5266583ad66441ef6295d97f3f0a3ccbd6 100644
(file)
--- a/
gtk2_ardour/audio_region_view.cc
+++ b/
gtk2_ardour/audio_region_view.cc
@@
-411,11
+411,10
@@
AudioRegionView::region_resized (const PropertyChange& what_changed)
list<std::pair<framepos_t, ArdourCanvas::Line*> >::iterator l;
for (l = feature_lines.begin(); l != feature_lines.end(); ++l) {
- if ((*l).first > _region->length()- 1){
- (*l).second->hide();
- }
- else {
- (*l).second->show();
+ if (l->first > _region->length() - 1) {
+ l->second->hide();
+ } else {
+ l->second->show();
}
}
}