projects
/
lilypond.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfcb621
)
axis-group-interface: test result of dynamic-cast; issue 4302
author
Keith OHara
<k-ohara5a5a@oco.net>
Sun, 21 Jun 2015 16:59:50 +0000
(09:59 -0700)
committer
Keith OHara
<k-ohara5a5a@oco.net>
Sun, 28 Jun 2015 05:37:05 +0000
(22:37 -0700)
lily/axis-group-interface.cc
patch
|
blob
|
history
diff --git
a/lily/axis-group-interface.cc
b/lily/axis-group-interface.cc
index eabb81adaf4ae5af4a83145728d37ff1b60f9159..59d1d6ba24a1f54297b1fe2f9a4505d9ca634e36 100644
(file)
--- a/
lily/axis-group-interface.cc
+++ b/
lily/axis-group-interface.cc
@@
-150,6
+150,8
@@
Interval
Axis_group_interface::part_of_line_pure_height (Grob *me, bool begin, int start, int end)
{
Spanner *sp = dynamic_cast<Spanner *> (me);
+ if (!sp)
+ return Interval (0, 0);
SCM cache_symbol = begin
? ly_symbol2scm ("begin-of-line-pure-height")
: ly_symbol2scm ("rest-of-line-pure-height");