]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.47
authorfred <fred>
Sun, 24 Mar 2002 19:37:49 +0000 (19:37 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:37:49 +0000 (19:37 +0000)
lily/staff-walker.cc

index ea37d9d63eaf2ce87b43e422784eb3f0677e15a9..8dbc6f4a1a85edad69f3557863b87944bc6b27f6 100644 (file)
@@ -71,7 +71,12 @@ Staff_walker::process_timing_reqs()
     for (int i=0; i < ptr()->timing_req_l_arr_.size(); i++) {
        Timing_req * tr_l = ptr()->timing_req_l_arr_[i];
        if (tr_l->partial()) {
-           time_.setpartial(tr_l->partial()->duration_);
+           Moment m = tr_l->partial()->duration_;
+           String error = time_.try_set_partial_str(m);
+           if (error != "") {
+               tr_l->warning(error);
+           } else 
+               time_.setpartial(m);
        } else if (tr_l->barcheck() && time_.whole_in_measure_) {
            tr_l ->warning( "Barcheck failed");
        } else if (tr_l->cadenza()) {