diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-10-24 10:00:16 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-10-24 10:00:16 +0000 |
commit | fa1b0b7457b91fb431a9269844c621b7e964212a (patch) | |
tree | aa4cd4a5fba190a6bedd81d57fd06ab90cc91ce3 /gtk2_ardour/canvas-waveview.c | |
parent | 191374058a84e81486b8d1d54c79fa5f9ea82a7f (diff) |
update authors list to include chris cannam and alphabetize it; add richard schwede to the translators list
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4007 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/canvas-waveview.c')
-rw-r--r-- | gtk2_ardour/canvas-waveview.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/canvas-waveview.c b/gtk2_ardour/canvas-waveview.c index dee5706c51..9e05ec65a0 100644 --- a/gtk2_ardour/canvas-waveview.c +++ b/gtk2_ardour/canvas-waveview.c @@ -1611,7 +1611,6 @@ gnome_canvas_waveview_draw (GnomeCanvasItem *item, int cache_index; double zbegin, zend; gboolean rectify; - double n; double origin; double clip_length; double xoff; @@ -1748,7 +1747,8 @@ gnome_canvas_waveview_draw (GnomeCanvasItem *item, yoff = origin - (waveview->half_height * max) + 0.5; - if (n == ulx) { + if (xoff == ulx) { + /* first point */ cairo_move_to (cr, xoff+0.5, yoff); } else { cairo_line_to (cr, xoff+0.5, yoff); |