From f24da84806c26bce8ba4f15b5d73506cf7c566d1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 23 Oct 2009 05:17:14 +0000 Subject: [PATCH] Fix whitespace. git-svn-id: svn://localhost/ardour2/branches/3.0@5889 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/automation_line.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gtk2_ardour/automation_line.cc b/gtk2_ardour/automation_line.cc index 3e89826cad..487e46a3a9 100644 --- a/gtk2_ardour/automation_line.cc +++ b/gtk2_ardour/automation_line.cc @@ -451,7 +451,7 @@ AutomationLine::determine_visible_control_points (ALPoints& points) uint32_t this_rx = 0; uint32_t prev_rx = 0; uint32_t this_ry = 0; - uint32_t prev_ry = 0; + uint32_t prev_ry = 0; double* slope; uint32_t box_size; uint32_t cpsize; @@ -532,13 +532,13 @@ AutomationLine::determine_visible_control_points (ALPoints& points) */ this_rx = (uint32_t) rint (tx); - this_ry = (uint32_t) rint (ty); + this_ry = (uint32_t) rint (ty); - if (view_index && pi != npoints && /* not the first, not the last */ + if (view_index && pi != npoints && /* not the first, not the last */ (((this_rx == prev_rx) && (this_ry == prev_ry)) || /* same point */ (((this_rx - prev_rx) < (box_size + 2)) && /* not identical, but still too close horizontally */ (abs ((int)(this_ry - prev_ry)) < (int) (box_size + 2))))) { /* too close vertically */ - continue; + continue; } /* ok, we should display this point */ @@ -1260,7 +1260,7 @@ AutomationLine::get_state (void) return alist->get_state(); } -int +int AutomationLine::set_state (const XMLNode &node, int version) { /* function as a proxy for the model */ -- 2.30.2