summaryrefslogtreecommitdiffstats
path: root/src/b_sqb_str.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/b_sqb_str.c')
-rw-r--r--src/b_sqb_str.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/b_sqb_str.c b/src/b_sqb_str.c
index 7c6a160..cc7e4ed 100644
--- a/src/b_sqb_str.c
+++ b/src/b_sqb_str.c
@@ -33,13 +33,20 @@ uint8_t
b_sqb_str(uint8_t id,
char *argv[])
{
- if (id == FT_ID_SQB_Z)
+ if (id == FT_ID_SQB_N)
{
if (argv[1][0] != '\0')
return (0);
else
return (1);
}
+ else if (id == FT_ID_SQB_Z)
+ {
+ if (argv[1][0] == '\0')
+ return (0);
+ else
+ return (1);
+ }
if (b_sqb_str_comp(id, argv[0], argv[2]) == TRUE)
return (0);
return (1);