X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Fgetopt-long.cc;h=5d8b4259f308e6b32cf02daa8a8667dcca7005ed;hb=7461c479c7a2e448b2d1da9759246b0cc1c9257a;hp=20f744ee41a8e101a2f2975e14c79575070c5241;hpb=3e08e326e7c38c81d3355a3f2e7ef8eb48bd121e;p=lilypond.git diff --git a/flower/getopt-long.cc b/flower/getopt-long.cc index 20f744ee41..5d8b4259f3 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--2006 Han-Wen Nienhuys, + this is Copyleft (c) 1996--2009 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"; }