summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-10-23 05:17:14 +0000
committerDavid Robillard <d@drobilla.net>2009-10-23 05:17:14 +0000
commitf24da84806c26bce8ba4f15b5d73506cf7c566d1 (patch)
tree626fe9f8c7271ff6731584e429dceac170fd1bba /gtk2_ardour
parente1ca7942c80597325a7f01153b809c4956757dce (diff)
Fix whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@5889 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/automation_line.cc10
1 files 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 */