From 5eb753276ff9052d3ef93fd2b931a9bfb482590c Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 30 Sep 2020 18:46:03 +0200 Subject: Renamed quite some stuff --- src/b_sqb_str.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/b_sqb_str.c') diff --git a/src/b_sqb_str.c b/src/b_sqb_str.c index 0b2693c..fa4381a 100644 --- a/src/b_sqb_str.c +++ b/src/b_sqb_str.c @@ -17,10 +17,10 @@ static t_bool b_sqb_str_comp(uint8_t id, const char s1[], const char s2[]) { - if (id == FT_ID_SQB_EQUA && + if (id == B_ID_SQB_EQUA && ft_strncmp(s1, s2, ft_strlen(s1) + 1) == 0) return (TRUE); - else if (id == FT_ID_SQB_EQUA && + else if (id == B_ID_SQB_EQUA && ft_strncmp(s1, s2, ft_strlen(s1) + 1) != 0) return (TRUE); return (FALSE); @@ -28,14 +28,14 @@ static t_bool b_sqb_str_comp(uint8_t id, const char s1[], const char s2[]) uint8_t b_sqb_str(uint8_t id, char *argv[]) { - if (id == FT_ID_SQB_N) + if (id == B_ID_SQB_N) { if (argv[1][0] != '\0') return (0); else return (1); } - else if (id == FT_ID_SQB_Z) + else if (id == B_ID_SQB_Z) { if (argv[1][0] == '\0') return (0); -- cgit v1.2.3