summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-03-09 05:20:55 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-03-09 05:20:55 +0000
commitfd380077bf6e6a37018448204193333b174c7b67 (patch)
tree1b7a96952bfc930d2f914a2b56fc7707f1c5779a /gtk2_ardour/route_time_axis.cc
parent8849cb428741d7d60261d1e44ceec665912281f5 (diff)
move comment to a more appropriate location
git-svn-id: svn://localhost/ardour2/branches/3.0@9113 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r--gtk2_ardour/route_time_axis.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc
index 94e4601db1..57e5903e82 100644
--- a/gtk2_ardour/route_time_axis.cc
+++ b/gtk2_ardour/route_time_axis.cc
@@ -984,11 +984,10 @@ RouteTimeAxisView::set_samples_per_unit (double spu)
void
RouteTimeAxisView::set_align_choice (RadioMenuItem* mitem, AlignChoice choice, bool apply_to_selection)
{
- /* this is one of the two calls made when these radio menu items change status. this one
- is for the item that became inactive, and we want to ignore it.
- */
-
if (!mitem->get_active()) {
+ /* this is one of the two calls made when these radio menu items change status. this one
+ is for the item that became inactive, and we want to ignore it.
+ */
return;
}