summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_summary.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-09-14 14:00:03 +0000
committerCarl Hetherington <carl@carlh.net>2011-09-14 14:00:03 +0000
commitf4f57062651bef38f077d922faf8f7e3402e0ed7 (patch)
tree576f987718b5e28ec7b92a977bd2eb017228e61d /gtk2_ardour/editor_summary.cc
parent74796c7a531d71f29c9e603fe33998f19cb96622 (diff)
Small tweak to previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@10076 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_summary.cc')
-rw-r--r--gtk2_ardour/editor_summary.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_summary.cc b/gtk2_ardour/editor_summary.cc
index 0c6f1cac58..1bbe5899d5 100644
--- a/gtk2_ardour/editor_summary.cc
+++ b/gtk2_ardour/editor_summary.cc
@@ -661,7 +661,7 @@ EditorSummary::set_editor_x (pair<double, double> x)
}
if (x.second < 0) {
- x.second = 1;
+ x.second = x.first + 1;
}
_editor->reset_x_origin (x.first / _x_scale + _start);