summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_markers.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-04-12 11:21:12 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-04-12 11:21:12 -0400
commit8877199ae052a33c68541dd610dba385645c6e1e (patch)
treee47efdbc0dad4e900df339562e77bcf56e8c55c3 /gtk2_ardour/editor_markers.cc
parent4258a349121392516543486bd9de6f13fe3f3331 (diff)
leftmost_position => leftmost_sample, current_page_frames => current_page_samples
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 7a774aaeba..04cea1bc04 100644
--- a/gtk2_ardour/editor_markers.cc
+++ b/gtk2_ardour/editor_markers.cc
@@ -674,7 +674,7 @@ Editor::mouse_add_new_range (framepos_t where)
it's reasonably easy to manipulate after creation.
*/
- framepos_t const end = where + current_page_frames() / 8;
+ framepos_t const end = where + current_page_samples() / 8;
string name;
_session->locations()->next_available_name (name, _("range"));