]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/dstream.cc
release: 0.0.9
[lilypond.git] / 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();
     }