From: David Kastrup Date: Wed, 27 Feb 2013 15:07:56 +0000 (+0100) Subject: ly_deep_copy did not actually copy vectors X-Git-Tag: release/2.17.14-1~10 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=40819417590cea0dd6bb392268fa115191329a84;p=lilypond.git ly_deep_copy did not actually copy vectors Or actually, it copied them, threw the copy away and returned the original. --- diff --git a/lily/lily-guile.cc b/lily/lily-guile.cc index 1ad0635d36..eb78d8bbfd 100644 --- a/lily/lily-guile.cc +++ b/lily/lily-guile.cc @@ -365,6 +365,7 @@ ly_deep_copy (SCM src) SCM si = scm_from_int (i); scm_vector_set_x (nv, si, ly_deep_copy (scm_vector_ref (src, si))); } + return nv; } return src; }