Browse Source

* Fix strlcomp

git-svn-id: trunk@39567 -
michael 7 years ago
parent
commit
20917b4ec2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/regexpr/src/regexpr.pas

+ 1 - 1
packages/regexpr/src/regexpr.pas

@@ -786,7 +786,7 @@ begin
     SetLength(S2, MaxLen);
     SetLength(S2, MaxLen);
   if S1 > S2 then
   if S1 > S2 then
     Result := 1
     Result := 1
-  else if S2 < S2 then
+  else if S1 < S2 then
     Result := -1
     Result := -1
   else
   else
     Result := 0;
     Result := 0;