]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.23
authorfred <fred>
Fri, 17 Jan 1997 13:51:29 +0000 (13:51 +0000)
committerfred <fred>
Fri, 17 Jan 1997 13:51:29 +0000 (13:51 +0000)
src/texbeam.cc

index 652360eee871351fdd7e114b8840a3a04fad37fa..bded0d7751661cce243332489b5783aeda5659b7 100644 (file)
@@ -66,9 +66,10 @@ Lookup::beam(Real &slope, Real width)
     int sidx = slope_index(slope);
     if (!slope)
        return rule_symbol(convert_dimen(2,"pt"), width);
-    if (width < convert_dimen(2,"pt"))
-       error("Beam too narrow. " );
-    
+    if (width < convert_dimen(2,"pt")) {
+       WARN<<"Beam too narrow.\n";
+       width = convert_dimen(2,"pt");
+    }
     Real elemwidth = convert_dimen(64,"pt");
     int widx = 5;