From 5326957e3adeade596a54a40fe7692c95ea9d765 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Wed, 9 Oct 2019 21:59:49 +0200 Subject: [PATCH] :shirt: Clean LGTM --- src/parse/type_utils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/parse/type_utils.c b/src/parse/type_utils.c index f9564be7..8808f085 100644 --- a/src/parse/type_utils.c +++ b/src/parse/type_utils.c @@ -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++, ".")); } -- 2.43.0