]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix crash on stemlets without a head.
authorJoe Neeman <joeneeman@gmail.com>
Fri, 25 Apr 2008 01:53:09 +0000 (11:53 +1000)
committerJoe Neeman <joeneeman@gmail.com>
Fri, 25 Apr 2008 02:05:00 +0000 (12:05 +1000)
lily/stem.cc

index 9d39552f574563dd1fa166ec38e86215a58c1acf..e63b96019ae4adadf54fc6812d53be95c9a139ff 100644 (file)
@@ -702,7 +702,7 @@ Stem::print (SCM smob)
   if (!lh && stemlet && !beam)
     return SCM_EOL;
 
-  if (robust_scm2int (lh->get_property ("duration-log"), 0) < 1) 
+  if (lh && robust_scm2int (lh->get_property ("duration-log"), 0) < 1) 
     return SCM_EOL;
 
   if (is_invisible (me))