瀏覽代碼

* Fix bug #29150

git-svn-id: trunk@32765 -
michael 9 年之前
父節點
當前提交
0042e1d3b8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rtl/objpas/classes/stringl.inc

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

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