From 27046e89845d2c25ed743a074815c6ef88a7e6de Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 1 Aug 2020 20:05:15 +0200 Subject: Bug fix --- src/p_lcom_next.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/p_lcom_next.c') diff --git a/src/p_lcom_next.c b/src/p_lcom_next.c index b106032..1df0a1f 100644 --- a/src/p_lcom_next.c +++ b/src/p_lcom_next.c @@ -194,7 +194,7 @@ char ptr = words[i]; while (*ptr != '\0' && *ptr != '=') ptr++; - if (*ptr == '\0' || words[i][0] == '=') + if (*ptr == '\0' || words[i][0] == '=' || ft_isdigit(words[i][0])) { reg = FALSE; if (i == 0) -- cgit v1.2.3