Browse Source

* Fix bug #0028486

git-svn-id: trunk@31299 -
michael 10 years ago
parent
commit
e5fba07668
1 changed files with 2 additions and 2 deletions
  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. }
 { //!! is used to mark unsupported things. }
 
 
-Function QuoteString (Const S : String; Quote : String) : String;
+Function QuoteString (Const S : String; Const Quote : String) : String;
 Var
 Var
   I,J : Integer;
   I,J : Integer;
 begin
 begin
   J:=0;
   J:=0;
   Result:=S;
   Result:=S;
-  for i:=1to length(s) do
+  for i:=1 to length(s) do
    begin
    begin
      inc(j);
      inc(j);
      if S[i]=Quote then
      if S[i]=Quote then