aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_select_get.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_select_get.c')
-rw-r--r--src/ft_select_get.c2
1 files changed, 2 insertions, 0 deletions
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++;