X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Fgetopt-long.cc;h=7e1f3353357ccdeff64756ad5ef31d0bfad80d6d;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=2cb537c67b39724afa5d06e57f8697e3e7115277;hpb=87eedcd59f4082cb0841528ad5bc82cb1d1191e3;p=lilypond.git diff --git a/flower/getopt-long.cc b/flower/getopt-long.cc index 2cb537c67b..7e1f335335 100644 --- a/flower/getopt-long.cc +++ b/flower/getopt-long.cc @@ -1,7 +1,7 @@ /* process command line, GNU style. - this is Copyleft (c) 1996--2007 Han-Wen Nienhuys, + this is Copyleft (c) 1996--2008 Han-Wen Nienhuys, */ #include "getopt-long.hh" @@ -310,7 +310,7 @@ Long_option_init::table_string (Long_option_init *l) s += string (wid - s.length () + EXTRA_SPACES, ' '); string help_text (gettext (l[i].help_str0_)); - replace_all (help_text, "\n", + replace_all (&help_text, "\n", "\n" + string (wid + EXTRA_SPACES + 2, ' ')); tabstr += s + help_text + "\n"; }