summaryrefslogtreecommitdiffstats
path: root/src/b_sqb_str.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/b_sqb_str.c8
1 files changed, 4 insertions, 4 deletions
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);