diff options
Diffstat (limited to 'src/ft_select_get.c')
-rw-r--r-- | src/ft_select_get.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ft_select_get.c b/src/ft_select_get.c index f4673c0..64ba14b 100644 --- a/src/ft_select_get.c +++ b/src/ft_select_get.c @@ -60,7 +60,7 @@ static int8_t ft_get_id(char **words, t_cub *clist) { int8_t ret; - char ref[12][3]; + char ref[13][3]; ft_sprintf(ref[0], "R"); ft_sprintf(ref[1], "NO"); @@ -73,7 +73,8 @@ static int8_t ft_sprintf(ref[8], "L"); ft_sprintf(ref[9], "LT"); ft_sprintf(ref[10], "MU"); - ft_bzero(ref[11], 3); + ft_sprintf(ref[11], "SH"); + ft_bzero(ref[12], 3); if (words[0][0] == ' ' || words[0][0] == '1') return (FT_PARSE_END_RET); ret = 0; |