]> Nishi Git Mirror - gwion.git/commitdiff
:shirt: Clean LGTM
authorfennecdjay <astor.jeremie@wanadoo.fr>
Wed, 9 Oct 2019 19:59:49 +0000 (21:59 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Wed, 9 Oct 2019 19:59:49 +0000 (21:59 +0200)
src/parse/type_utils.c

index f9564be70405ae517316f6fcbce6ba1e7a1fa002..8808f0852ab6e910d284c729b07f54a50bb745af 100644 (file)
@@ -27,5 +27,7 @@ ANN void type_path(const m_str str, ID_List l) {
     const m_str name = s_name(l->xid);
     strcpy(s, name);
     s += strlen(name);
+    if(l->next)
+      strcpy(s++, ".");
   } while((l = l->next) && strcpy(s++, "."));
 }