]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/stem.cc
Fix issue 2359: example code in German and English docs should be the same
[lilypond.git] / lily / stem.cc
index fb830624ff23b360e1c06d5d85a7c0114033ed8e..8c0e128487b4f48027bb7f23e8810b19aa229c56 100644 (file)
@@ -277,7 +277,12 @@ Stem::is_invisible (Grob *me)
 bool
 Stem::is_normal_stem (Grob *me)
 {
-  return head_count (me) && scm_to_int (me->get_property ("duration-log")) >= 1;
+  if (!head_count (me))
+     return false;
+
+  extract_grob_set (me, "note-heads", heads);
+  SCM style = heads[0]->get_property ("style");
+  return style != ly_symbol2scm ("kievan") && scm_to_int (me->get_property ("duration-log")) >= 1;
 }
 
 MAKE_SCHEME_CALLBACK (Stem, pure_height, 3)
@@ -1128,6 +1133,7 @@ ADD_INTERFACE (Stem,
                "stemlet-length "
                "thickness "
                "tremolo-flag "
+               "tuplet-start "
               );
 
 /****************************************************************/