Sophie

Sophie

distrib > Mandriva > 2009.0 > x86_64 > by-pkgid > 66dc719c5e12631a7bedd738ce385228 > files > 2

lilypond-2.12.1-1mdv2009.0.src.rpm

--- lily/main.cc.orig	2008-12-31 19:10:27.000000000 +0100
+++ lily/main.cc	2009-01-18 04:01:17.000000000 +0100
@@ -219,7 +219,7 @@
 static void
 copyright ()
 {
-  printf (_f ("Copyright (c) %s by\n%s  and others.",
+  printf ("%s", _f ("Copyright (c) %s by\n%s  and others.",
 	      "1996--2008",
 	      AUTHORS).c_str ());
   printf ("\n");
@@ -247,23 +247,23 @@
 	   "Print usage message.")
 {
   /* No version number or newline here.  It confuses help2man.  */
-  printf (_f ("Usage: %s [OPTION]... FILE...", PROGRAM_NAME).c_str ());
+  printf ("%s", _f ("Usage: %s [OPTION]... FILE...", PROGRAM_NAME).c_str ());
   printf ("\n\n");
-  printf (_ ("Typeset music and/or produce MIDI from FILE.").c_str ());
+  printf ("%s", _ ("Typeset music and/or produce MIDI from FILE.").c_str ());
   printf ("\n\n");
-  printf (_ ("LilyPond produces beautiful music notation.").c_str ());
+  printf ("%s", _ ("LilyPond produces beautiful music notation.").c_str ());
   printf ("\n");
-  printf (_f ("For more information, see %s", PROGRAM_URL).c_str ());
+  printf ("%s", _f ("For more information, see %s", PROGRAM_URL).c_str ());
   printf ("\n\n");
-  printf (_ ("Options:").c_str ());
+  printf ("%s",_ ("Options:").c_str ());
   printf ("\n");
-  printf (Long_option_init::table_string (options_static).c_str ());
+  printf ("%s", Long_option_init::table_string (options_static).c_str ());
   printf ("\n");
   /* Translators, please translate this string as
          "Report bugs in English via %s",
      or if there is a LilyPond users list or forum in your language
          "Report bugs in English via %s or in YOUR_LANG via URI"  */
-  printf (_f ("Report bugs via %s",
+  printf ("%s", _f ("Report bugs via %s",
 	      "http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs"
 	      ).c_str ());
   printf ("\n");
@@ -278,7 +278,7 @@
   printf ("\n");
   copyright ();
   printf ("\n");
-  printf (_ (WARRANTY).c_str ());
+  printf ("%s", _ (WARRANTY).c_str ());
 }
 
 static void