summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_markers.cc
diff options
context:
space:
mode:
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 ae97d5c38f..8e486aa6cc 100644
--- a/gtk2_ardour/editor_markers.cc
+++ b/gtk2_ardour/editor_markers.cc
@@ -870,7 +870,7 @@ Editor::marker_menu_range_to_next ()
nframes64_t end;
_session->locations()->marks_either_side (marker->position(), start, end);
- if (end != max_frames) {
+ if (end != max_framepos) {
string range_name = l->name();
range_name += "-range";