Paste problem fix

This commit is contained in:
Margers 2025-01-09 21:26:39 +00:00 committed by Michael Van Canneyt
parent 4e96751cb7
commit d2df6a630c

View File

@ -2081,11 +2081,11 @@ begin
exit;
end; *)
if S='' then
CP:=0
CP:=X+1
else
begin
CP:=0; RX:=0;
while (RX<=X) and (CP<=length(S)) do
while (RX<=X) {and (CP<=length(S))} do
begin
Inc(CP);
if (CP<=length(S)) and