From: David Kastrup Date: Sun, 27 Sep 2015 10:15:33 +0000 (+0200) Subject: Issue 4623: Don't dump Midi data to screen on write error X-Git-Tag: release/2.19.29-1~40 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a3c3c447d0359c501e8971418f23af38b0fd3117;p=lilypond.git Issue 4623: Don't dump Midi data to screen on write error --- diff --git a/lily/midi-stream.cc b/lily/midi-stream.cc index 1c7153a1e3..d0f8531094 100644 --- a/lily/midi-stream.cc +++ b/lily/midi-stream.cc @@ -51,7 +51,7 @@ Midi_stream::write (const string &str) size_t written = fwrite (str.data (), sz, n, out_file_); if (written != sz * n) - warning (_f ("cannot write to file: `%s'", str.data ())); + warning (_f ("cannot write to file: `%s'", file_name_string_.c_str ())); } void