Explorar el Código

* Fix bug #0028486

git-svn-id: trunk@31299 -
michael hace 10 años
padre
commit
e5fba07668
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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