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_nbr.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/b_sqb_nbr.c') 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); } -- cgit v1.2.3