浏览代码

* Fix bug #0028486

git-svn-id: trunk@31299 -
michael 10 年之前
父节点
当前提交
e5fba07668
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      rtl/objpas/classes/stringl.inc

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

@@ -42,13 +42,13 @@ end;
 
 { //!! is used to mark unsupported things. }
 
-Function QuoteString (Const S : String; Quote : String) : String;
+Function QuoteString (Const S : String; Const Quote : String) : String;
 Var
   I,J : Integer;
 begin
   J:=0;
   Result:=S;
-  for i:=1to length(s) do
+  for i:=1 to length(s) do
    begin
      inc(j);
      if S[i]=Quote then