From 35eadd36a919608d32089fcbaa4cc1f1cac6edc9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sun, 24 May 2020 16:44:51 +0200 Subject: [PATCH] :bug: Fix special_type --- src/env/type_special.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.43.0