mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-10 02:28:22 +02:00
Paste problem fix
This commit is contained in:
parent
4e96751cb7
commit
d2df6a630c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user