diff options
author | Erich Eckner <git@eckner.net> | 2015-07-29 14:04:03 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2015-07-29 14:04:03 +0200 |
commit | 75cfcada7d08c5c4e8d5b5e084f5ffbbca110539 (patch) | |
tree | 340fbea36ee4734227fe0d50022f81c072c0d8e7 | |
parent | 79ea0c95754ef0b7ba05917ac68809c396995f09 (diff) | |
download | units-75cfcada7d08c5c4e8d5b5e084f5ffbbca110539.tar.xz |
!setze-Bug in mystringlistunit.pas entfernt
-rw-r--r-- | mystringlistunit.pas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mystringlistunit.pas b/mystringlistunit.pas index 46bf87e..72a86b0 100644 --- a/mystringlistunit.pas +++ b/mystringlistunit.pas @@ -381,13 +381,13 @@ begin end; delete(i); for j:=i to count-1 do begin - u:=self[i]; + u:=self[j]; k:=length(u); while (pos(t,u)>0) and (k>0) do begin // ... nach Ersetzung ... u:=copy(u,1,pos(t,u)-1)+s+copy(u,pos(t,u)+length(t),length(u)); dec(k); end; - self[i]:=u; + self[j]:=u; end; end else |