X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fmidi-stream.cc;h=9409762d66f0bbf2eb9b1514336569c677e5ce05;hb=06f227dd80f3a30cbf33c879b7c125079dfaf5c3;hp=bcaefe7c181fc461fde48f8a6b9b744c865321cf;hpb=91f01637f31c7d904fd8016b49184e935bf1c8ab;p=lilypond.git diff --git a/lily/midi-stream.cc b/lily/midi-stream.cc index bcaefe7c18..9409762d66 100644 --- a/lily/midi-stream.cc +++ b/lily/midi-stream.cc @@ -1,9 +1,20 @@ /* - midi-stream.cc -- implement Midi_stream + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 1997--2012 Jan Nieuwenhuizen - (c) 1997--2007 Jan Nieuwenhuizen + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #include "midi-stream.hh" @@ -41,7 +52,7 @@ Midi_stream::write (string str) size_t written = fwrite (str.data (), sz, n, out_file_); if (written != sz * n) - warning (_ ("cannot write to file: `%s'")); + warning (_f ("cannot write to file: `%s'", str.data ())); } void