]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/general-scheme.cc
(LY_DEFINE): Compile fix for systems
[lilypond.git] / lily / general-scheme.cc
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",