Skip to content

Commit

Permalink
compiler/eccss: (NOT) contains case-sensitivity fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jerstlouis committed Jul 11, 2023
1 parent c87415b commit bdb3f9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/eccss/expressions.ec
Original file line number Diff line number Diff line change
Expand Up @@ -2851,7 +2851,7 @@ OPERATOR_NUMERIC(BINARY_LOGICAL, <=, SmaEqu)
static bool textStrCnt(FieldValue result, const FieldValue val1, const FieldValue val2)
{

result.i = SearchString(val1.s, 0, val2.s, false, false) != null;
result.i = SearchString(val1.s, 0, val2.s, true, false) != null;
result.type = { type = integer };
return true;
}
Expand All @@ -2875,7 +2875,7 @@ static bool textStrEnd(FieldValue result, const FieldValue val1, const FieldValu
static bool textStrNotCnt(FieldValue result, const FieldValue val1, const FieldValue val2)
{

result.i = !SearchString(val1.s, 0, val2.s, false, false);
result.i = !SearchString(val1.s, 0, val2.s, true, false);
result.type = { type = integer };
return true;
}
Expand Down

0 comments on commit bdb3f9e

Please sign in to comment.