From 73cc6d40e6c89819c0dd9dffdd095bc9d9ea6b88 Mon Sep 17 00:00:00 2001 From: salad Date: Tue, 28 Apr 2020 15:15:40 +0200 Subject: ladies and gentlement --- src/ft_p_line.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ft_p_line.c') diff --git a/src/ft_p_line.c b/src/ft_p_line.c index b1ba6b2..166b880 100644 --- a/src/ft_p_line.c +++ b/src/ft_p_line.c @@ -31,6 +31,7 @@ void ptr = line; while (*ptr != '\0') { + if (*ptr == ';') { count += 1; -- cgit v1.2.3