From: Jérémie Astor Date: Thu, 12 May 2022 18:55:36 +0000 (+0200) Subject: :bug: Use full path in ref_type X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=b812ca6f259c7b54036857d031def6da8eb2bac3;p=gwion.git :bug: Use full path in ref_type --- diff --git a/src/lib/ref.c b/src/lib/ref.c index 504e0644..8d9e620a 100644 --- a/src/lib/ref.c +++ b/src/lib/ref.c @@ -18,8 +18,9 @@ #include "tmpl_info.h" ANN Type ref_type(const Gwion gwion, const Type t, const loc_t loc) { - char c[7 + strlen(t->name)]; - sprintf(c, "Ref:[%s]", t->name); + const m_str name = type2str(gwion, t, loc); + char c[7 + strlen(name)]; + sprintf(c, "Ref:[%s]", name); return str2type(gwion, c, loc); }