diff options
Diffstat (limited to '')
-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); } |