summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_markers.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-04-10 10:14:45 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-04-10 10:14:45 -0400
commit68c5f05704f3e276bfa1d9c64ee602baf99b84d1 (patch)
treeef6570da6368dbbaf42d3532ce176061af493bc9 /gtk2_ardour/editor_markers.cc
parentdc0723655e7bbad0eeb9dd0123add50757d7ab1c (diff)
remove final reference to jack headers
Diffstat (limited to 'gtk2_ardour/editor_markers.cc')
-rw-r--r--gtk2_ardour/editor_markers.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_markers.cc b/gtk2_ardour/editor_markers.cc
index 1b937dad7d..3cf3ef83b7 100644
--- a/gtk2_ardour/editor_markers.cc
+++ b/gtk2_ardour/editor_markers.cc
@@ -1469,7 +1469,7 @@ Editor::update_punch_range_view ()
if (_session->config.get_punch_in()) {
transport_punch_range_rect->set_x0 (sample_to_pixel (tpl->start()));
- transport_punch_range_rect->set_x1 (_session->config.get_punch_out() ? sample_to_pixel (tpl->end()) : sample_to_pixel (JACK_MAX_FRAMES));
+ transport_punch_range_rect->set_x1 (_session->config.get_punch_out() ? sample_to_pixel (tpl->end()) : sample_to_pixel (max_framepos));
} else {
transport_punch_range_rect->set_x0 (0);
transport_punch_range_rect->set_x1 (_session->config.get_punch_out() ? sample_to_pixel (tpl->end()) : v.width ());