]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/midi-stream.cc
Update "reporting bugs" in manual to point to webpage.
[lilypond.git] / lily / midi-stream.cc
index e6835f42fd89bd6e092666ea427d62084e68f2a0..b5d02f84004baa4094a72ad163b028a34a280dcc 100644 (file)
@@ -25,7 +25,7 @@ Midi_stream::Midi_stream (string file_name)
   file_name_string_ = file_name;
   out_file_ = fopen (file_name.c_str (), "wb");
   if (!out_file_)
-    error (_f (cannot open for write: %s: %s", file_name, strerror (errno)));
+    error (_f ("cannot open for write: %s: %s", file_name, strerror (errno)));
 }
 
 Midi_stream::~Midi_stream ()
@@ -41,7 +41,7 @@ Midi_stream::operator << (string str)
   size_t written = fwrite (str.data (), sz, n, out_file_);
 
   if (written != sz * n)
-    warning (_ (cannot write to file: `%s'"));
+    warning (_ ("cannot write to file: `%s'"));
 
   return *this;
 }