From c6d5b2ce6d74f36d01dae8fd3602b73142ca5d87 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 16 Apr 2013 21:39:24 -0400 Subject: [PATCH] fix typo --- gtk2_ardour/video_image_frame.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/video_image_frame.cc b/gtk2_ardour/video_image_frame.cc index b7f7152179..b10b546857 100644 --- a/gtk2_ardour/video_image_frame.cc +++ b/gtk2_ardour/video_image_frame.cc @@ -74,7 +74,7 @@ VideoImageFrame::~VideoImageFrame () void VideoImageFrame::set_position (framepos_t sample) { - double new_unit_position = editor.sample_to_pixel (frame); + double new_unit_position = editor.sample_to_pixel (sample); image->move (ArdourCanvas::Duple (new_unit_position - unit_position, 0.0)); sample_position = sample; unit_position = new_unit_position;