]> git.donarmstrong.com Git - lilypond.git/commitdiff
flower-1.0.10
authorfred <fred>
Fri, 29 Nov 1996 12:51:07 +0000 (12:51 +0000)
committerfred <fred>
Fri, 29 Nov 1996 12:51:07 +0000 (12:51 +0000)
flower/dstream.cc

index 8540e734cffd29c1ee144b7162d72dc4af405111..6cfc62eb3ded390c3a96555f3a1a9f36e4a6f4ac 100644 (file)
@@ -114,7 +114,10 @@ Dstream::Dstream(ostream *r, const char * cfg_nm )
     Text_db cfg(fn);
     while (! cfg.eof()){            
         Text_record  r(  cfg++);
-        assert(r.sz() == 2);
+        if (r.sz() != 2) {
+            r.message("not enough fields in Dstream init.");
+            continue;
+        }
         (*silent)[r[0]] = r[1].to_bool();
     }