]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/warn.cc
* scm/page-breaking.scm (ly:optimal-page-breaks): don't do
[lilypond.git] / flower / warn.cc
index 117e8fdc6b145d71699fd26daea5415ce7348e0d..98769fc241f2f5676b1746d395aac3a53eba1824 100644 (file)
@@ -11,7 +11,6 @@
 
 #include "warn.hh"
 
-
 void
 message (String s)
 {
@@ -22,13 +21,13 @@ message (String s)
 void
 warning (String s)
 {
-  message (_f ("warning: %s\n", s.to_str0 ()));
+  message (_f ("warning: %s", s.to_str0 ()) + "\n");
 }
 
 void
 non_fatal_error (String s)
 {
-  message (_f ("error: %s\n", s.to_str0 ()));
+  message (_f ("error: %s", s.to_str0 ()) + "\n");
 }
 
 void
@@ -41,7 +40,7 @@ error (String s)
 void
 programming_error (String s)
 {
-  message (_f ("programming error: %s (Continuing; cross thumbs)\n",
-              s.to_str0 ()));
+  message (_f ("programming error: %s", s) + "\n");
+  message (_ ("Continuing; crossing fingers") + "\n");
 }