]> git.donarmstrong.com Git - lilypond.git/commitdiff
Compile fix for platforms without libintl.
authorJan Nieuwenhuizen <janneke@gnu.org>
Mon, 28 Feb 2005 11:24:04 +0000 (11:24 +0000)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 28 Feb 2005 11:24:04 +0000 (11:24 +0000)
Now it compiles too.

ChangeLog
lily/lily-guile.cc

index cd9513ded63a110013fb0e653d3bd1891955de68..3396dde8556b160c289bd743c52c341863c12d45 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2005-02-28  Jan Nieuwenhuizen  <janneke@gnu.org>
 
        * lily/lily-guile.cc: Compile fix for platforms without libintl.
+       Now it compiles too.
 
 2005-02-12  Jan Nieuwenhuizen  <janneke@gnu.org>
 
index 5cc9df01db5f68ccff611c7a62e5f53e166f5eaf..70bb34dae7fddb424877245fceac35cc8aca4af6 100644 (file)
@@ -836,6 +836,6 @@ LY_DEFINE (ly_gettext, "ly:gettext",
 {
   SCM_ASSERT_TYPE (scm_is_string (string), string, SCM_ARG1,
                   __FUNCTION__, "string");
-  return scm_makfrom0str (_ (scm_i_string_chars (string)));
+  return scm_makfrom0str (_ (scm_i_string_chars (string)).to_str0 ());
 }