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

ChangeLog
lily/general-scheme.cc

index dac5adfa664b5524d3faed0bffd8cb021ec81ffb..bf9947f00320b4e214c84f33cf911143fc36ab9b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
 2005-02-28  Jan Nieuwenhuizen  <janneke@gnu.org>
 
        * lily/general-scheme.cc (LY_DEFINE): Compile fix for systems
-       without libintl.
+       without libintl.  Now it compiles too.
 
 2005-02-28  Graham Percival  <gperlist@shaw.ca>
 
index 257b34ed14446b169e449579f856eb8b5530b1df..c26dfbfa13c0af31fe090da8f5c73600f0f1dcb4 100644 (file)
@@ -170,7 +170,7 @@ 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 ());
 }
 
 LY_DEFINE (ly_output_backend, "ly:output-backend",