diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-30 18:46:03 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-30 18:46:03 +0200 |
commit | 5eb753276ff9052d3ef93fd2b931a9bfb482590c (patch) | |
tree | e0dcc220be90eff1224b9ee1ee706253cb63ef2f /src/b_sqb_nbr.c | |
parent | Names update (diff) | |
download | 42-minishell-5eb753276ff9052d3ef93fd2b931a9bfb482590c.tar.gz 42-minishell-5eb753276ff9052d3ef93fd2b931a9bfb482590c.tar.bz2 42-minishell-5eb753276ff9052d3ef93fd2b931a9bfb482590c.tar.xz 42-minishell-5eb753276ff9052d3ef93fd2b931a9bfb482590c.tar.zst 42-minishell-5eb753276ff9052d3ef93fd2b931a9bfb482590c.zip |
Renamed quite some stuff
Diffstat (limited to 'src/b_sqb_nbr.c')
-rw-r--r-- | src/b_sqb_nbr.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/b_sqb_nbr.c b/src/b_sqb_nbr.c index e8220cb..0f96e82 100644 --- a/src/b_sqb_nbr.c +++ b/src/b_sqb_nbr.c @@ -17,17 +17,17 @@ static t_bool b_sqb_nbr_tests(uint8_t id, int32_t n1, int32_t n2) { - if (id == FT_ID_SQB_EQ && n1 == n2) + if (id == B_ID_SQB_EQ && n1 == n2) return (TRUE); - else if (id == FT_ID_SQB_NE && n1 != n2) + else if (id == B_ID_SQB_NE && n1 != n2) return (TRUE); - else if (id == FT_ID_SQB_GT && n1 > n2) + else if (id == B_ID_SQB_GT && n1 > n2) return (TRUE); - else if (id == FT_ID_SQB_GE && n1 >= n2) + else if (id == B_ID_SQB_GE && n1 >= n2) return (TRUE); - else if (id == FT_ID_SQB_LT && n1 < n2) + else if (id == B_ID_SQB_LT && n1 < n2) return (TRUE); - else if (id == FT_ID_SQB_LE && n1 <= n2) + else if (id == B_ID_SQB_LE && n1 <= n2) return (TRUE); return (FALSE); } |