Browse Source

* Fix bug #29150

git-svn-id: trunk@32765 -
michael 9 years ago
parent
commit
0042e1d3b8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/objpas/classes/stringl.inc

+ 1 - 1
rtl/objpas/classes/stringl.inc

@@ -599,7 +599,7 @@ Var
 begin
 begin
   S:='';
   S:='';
   Result:=False;
   Result:=False;
-  If ((Length(Value)-P)<=0) then
+  If ((Length(Value)-P)<0) then
     exit;
     exit;
   PS:=@Value[P];
   PS:=@Value[P];
   PC:=PS;
   PC:=PS;