summaryrefslogtreecommitdiff
path: root/src/wx/timeline.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/timeline.cc')
-rw-r--r--src/wx/timeline.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/timeline.cc b/src/wx/timeline.cc
index e5457020f..eff686a35 100644
--- a/src/wx/timeline.cc
+++ b/src/wx/timeline.cc
@@ -75,7 +75,7 @@ public:
}
Time const start = content->start ();
- Time const len = content->length (film);
+ Time const len = content->length ();
gc->SetPen (*wxBLACK_PEN);
@@ -127,7 +127,7 @@ public:
return Rect (
time_x (content->start ()),
y_pos (_track),
- content->length (film) * _timeline.pixels_per_time_unit(),
+ content->length () * _timeline.pixels_per_time_unit(),
_timeline.track_height()
);
}