summaryrefslogtreecommitdiff
path: root/mystringlistunit.pas
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2015-07-29 14:04:03 +0200
committerErich Eckner <git@eckner.net>2015-07-29 14:04:03 +0200
commit75cfcada7d08c5c4e8d5b5e084f5ffbbca110539 (patch)
tree340fbea36ee4734227fe0d50022f81c072c0d8e7 /mystringlistunit.pas
parent79ea0c95754ef0b7ba05917ac68809c396995f09 (diff)
downloadunits-75cfcada7d08c5c4e8d5b5e084f5ffbbca110539.tar.xz
!setze-Bug in mystringlistunit.pas entfernt
Diffstat (limited to 'mystringlistunit.pas')
-rw-r--r--mystringlistunit.pas4
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