{
case -1:
ret = (priv->compare_type == ZAK_FORM_COMPARE_TYPE_LESSER
- || priv->compare_type == ZAK_FORM_COMPARE_TYPE_NOT_EQUAL);
+ || priv->compare_type == ZAK_FORM_COMPARE_TYPE_LESSER_EQUAL);
break;
case 0:
case 1:
ret = (priv->compare_type == ZAK_FORM_COMPARE_TYPE_GREATER
- || priv->compare_type == ZAK_FORM_COMPARE_TYPE_NOT_EQUAL);
+ || priv->compare_type == ZAK_FORM_COMPARE_TYPE_GREATER_EQUAL);
break;
};
if (comp < 0)
{
ret = (priv->type == ZAK_FORM_COMPARE_TYPE_LESSER
- || priv->type == ZAK_FORM_COMPARE_TYPE_NOT_EQUAL);
+ || priv->type == ZAK_FORM_COMPARE_TYPE_LESSER_EQUAL);
}
else if (comp == 0)
{
else if (comp > 0)
{
ret = (priv->type == ZAK_FORM_COMPARE_TYPE_GREATER
- || priv->type == ZAK_FORM_COMPARE_TYPE_NOT_EQUAL);
+ || priv->type == ZAK_FORM_COMPARE_TYPE_GREATER_EQUAL);
};
if (!ret)
{
case -1:
ret = (priv->type == ZAK_FORM_COMPARE_TYPE_LESSER
- || priv->type == ZAK_FORM_COMPARE_TYPE_NOT_EQUAL);
+ || priv->type == ZAK_FORM_COMPARE_TYPE_LESSER_EQUAL);
break;
case 0:
case 1:
ret = (priv->type == ZAK_FORM_COMPARE_TYPE_GREATER
- || priv->type == ZAK_FORM_COMPARE_TYPE_NOT_EQUAL);
+ || priv->type == ZAK_FORM_COMPARE_TYPE_GREATER_EQUAL);
break;
};
}