X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mi2mu%2Fmudela-stream.cc;h=42ba6695c3a46c2a5618535fa8d92ecc8bfc6548;hb=dccb52c3a040eb61328bf7bb9aae9a90b59e1120;hp=d54b9cea57bcabb1d6ef22e681a9a196bab57df5;hpb=77add406027ae5afda409a2e77b35852c5fae4f9;p=lilypond.git diff --git a/mi2mu/mudela-stream.cc b/mi2mu/mudela-stream.cc index d54b9cea57..42ba6695c3 100644 --- a/mi2mu/mudela-stream.cc +++ b/mi2mu/mudela-stream.cc @@ -71,10 +71,20 @@ Mudela_stream::handle_pending_indent() void Mudela_stream::header() { - *os_p_ << _("% Creator: ") << mi2mu_version_str() << "\n"; - *os_p_ << _("% Automatically generated, at "); - time_t t (time (0)); - *os_p_ << ctime (&t); + *os_p_ << _("% Creator: "); + if (no_timestamps_b_g) + *os_p_ << "GNU LilyPond\n"; + else + *os_p_ << mi2mu_version_str() << "\n"; + *os_p_ << _("% Automatically generated"); + if (no_timestamps_b_g) + *os_p_ << ".\n"; + else + { + *os_p_ << _(", at "); + time_t t (time (0)); + *os_p_ << ctime (&t) << "%\n"; + } *os_p_ << _("% from input file: "); // *os_p_ << midi_parser_l_g->filename_str_; // ugh