X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fmidi-stream.cc;h=28faff01531efd4b461dfb569731f43782699789;hb=0bf11a427a6ba669fa2d2ad709ca1d257bb5afd2;hp=bcaefe7c181fc461fde48f8a6b9b744c865321cf;hpb=3ee551fa4f2a2c3736a06f9f85f29b9f7bd89818;p=lilypond.git diff --git a/lily/midi-stream.cc b/lily/midi-stream.cc index bcaefe7c18..28faff0153 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--2010 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