diff options
Diffstat (limited to 'gtk2_ardour/control_point.cc')
-rw-r--r-- | gtk2_ardour/control_point.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/control_point.cc b/gtk2_ardour/control_point.cc index 801bd5bb82..bc7301dc1c 100644 --- a/gtk2_ardour/control_point.cc +++ b/gtk2_ardour/control_point.cc @@ -121,11 +121,11 @@ ControlPoint::reset (double x, double y, AutomationList::iterator mi, uint32_t v /* If this is too big, libart will confuse itself and segfault after it casts the bounding box of this automation line to ints. Sigh. */ - + if (x > INT32_MAX) { x = INT32_MAX; } - + _model = mi; _view_index = vi; move_to (x, y, shape); |