From 3d5d770c0f43f9b4cfe59dc694f78b18803a7872 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 3 Mar 2020 20:26:03 +0100 Subject: Changing stuff --- src/ft_select_get.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ft_select_get.c') diff --git a/src/ft_select_get.c b/src/ft_select_get.c index 124c208..c73ed06 100644 --- a/src/ft_select_get.c +++ b/src/ft_select_get.c @@ -74,6 +74,8 @@ static int8_t ft_sprintf(ref[9], "LT"); ft_sprintf(ref[10], "MU"); ft_sprintf(ref[11], ""); + if (words[0][0] == ' ' || words[0][0] == '1') + return (12); ret = 0; while (ft_strncmp(words[0], ref[ret], 3) && ref[ret][0]) ret++; -- cgit v1.2.3