Explorar o código

* Fix strlcomp

git-svn-id: trunk@39567 -
michael %!s(int64=7) %!d(string=hai) anos
pai
achega
20917b4ec2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;