]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.67
authorfred <fred>
Sun, 24 Mar 2002 19:45:05 +0000 (19:45 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:45:05 +0000 (19:45 +0000)
lily/script-reg.cc

index be12028c178d038a54c09b620fb29963e141ecd6..b73a6a5fe2a8d1b33809aeb2b7ab44fc3f375f44 100644 (file)
@@ -19,8 +19,9 @@ Script_register::Script_register()
 bool
 Script_register::try_request(Request *r_l)
 {
-    if (!r_l->script())
+    if (!r_l->musical() || ! r_l->musical()->musicalscript())
        return false ;
+    
     for (int i=0; i < script_req_l_arr_.size(); i++)
        if ( !Script_req::compare(*script_req_l_arr_[i], *r_l->script())) {
            return true;