From: Jérémie Astor Date: Sun, 24 May 2020 14:44:51 +0000 (+0200) Subject: :bug: Fix special_type X-Git-Tag: nightly~1524 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=35eadd36a919608d32089fcbaa4cc1f1cac6edc9;p=gwion.git :bug: Fix special_type --- diff --git a/src/env/type_special.c b/src/env/type_special.c index b03014df..60509ea6 100644 --- a/src/env/type_special.c +++ b/src/env/type_special.c @@ -36,7 +36,7 @@ static inline int get_flag(const Type t, const ae_flag flag) { ANN static void specialtype_flag(SpecialType *s, m_str c, const uint i) { const ae_flag flag = special_flag[i]; if(i == s->st_type || get_flag(s->type, flag)) { - strcat(c, special_name[0]); + strcat(c, special_name[i]); s->flag |= flag; } }