michael %!s(int64=5) %!d(string=hai) anos
pai
achega
e8804d29c2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/rtl/sysutils.pas

+ 1 - 1
packages/rtl/sysutils.pas

@@ -2421,7 +2421,7 @@ Var ChPos,OldPos,ArgPos,DoArg,Len : SizeInt;
   }
   begin
     result:=false;
-    if Index=-1 then
+    if Index=High(Byte) then
       DoArg:=Argpos
     else
       DoArg:=Index;