projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8418f8c
)
Fix segfault on startup caused by previous patch.
author
Carl Hetherington
<carl@carlh.net>
Wed, 6 Jan 2010 02:07:00 +0000
(
02:07
+0000)
committer
Carl Hetherington
<carl@carlh.net>
Wed, 6 Jan 2010 02:07:00 +0000
(
02:07
+0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@6463
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/editor.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor.cc
b/gtk2_ardour/editor.cc
index 9f7128a76ab7fda2291f5c426e37ef5458c24de0..5c5d3abad971c2ce54a6ce8d03ab16e6f04da2fc 100644
(file)
--- a/
gtk2_ardour/editor.cc
+++ b/
gtk2_ardour/editor.cc
@@
-4325,13
+4325,6
@@
Editor::idle_visual_changer ()
update_tempo_based_rulers ();
}
if (p & VisualChange::TimeOrigin) {
- // Add a little extra so we can see the end marker
- nframes64_t e = 0;
- if (_session) {
- e = _session->current_end_frame ();
- }
- e += current_page_frames () / 10;
- horizontal_adjustment.set_upper (e / frames_per_unit);
horizontal_adjustment.set_value (pending_visual_change.time_origin / frames_per_unit);
}
if (p & VisualChange::YOrigin) {