]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/script.cc
release: 1.1.1
[lilypond.git] / lily / script.cc
index ee525907ae929e1fb27a75f18d3c95244219be0f..c7e5d4177050a6481fcfc3882adb8b2dc06687b3 100644 (file)
@@ -27,7 +27,7 @@ Script::do_substitute_dependency (Score_element*o,Score_element*n)
   Staff_side::do_substitute_dependency (o,n);
   if (o == stem_l_)
     {
-      stem_l_ = n ? (Stem*)dynamic_cast <Item *> (n) : 0;
+      stem_l_ = dynamic_cast<Stem *> (n);
     }
 }