# HG changeset patch # User Chris Cannam # Date 1405678033 -3600 # Node ID 22fe9bcb720666ae0dbc16c532fca0a31db8bffe # Parent d974ed6571766953ecbb8abb70cb683c46ea3c6d compile fix diff -r d974ed657176 -r 22fe9bcb7206 layer/FlexiNoteLayer.cpp --- a/layer/FlexiNoteLayer.cpp Wed Jul 16 14:35:00 2014 +0100 +++ b/layer/FlexiNoteLayer.cpp Fri Jul 18 11:07:13 2014 +0100 @@ -797,8 +797,7 @@ // Profiler profiler("FlexiNoteLayer::paint", true); - int x0 = rect.left(), x1 = rect.right(); - int frame0 = v->getFrameForX(x0); + int x1 = rect.right(); int frame1 = v->getFrameForX(x1); FlexiNoteModel::PointList points(m_model->getPoints(0, frame1));