mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 12:39:29 +02:00
lcl: grids: don't add line break if only one cell is selected. Change #13#10 to sLineBreak
git-svn-id: trunk@52352 -
This commit is contained in:
parent
0b9e2259d5
commit
58277d75f2
@ -10397,7 +10397,8 @@ begin
|
||||
SelStr := SelStr + #9;
|
||||
end;
|
||||
|
||||
SelStr := SelStr + #13#10;
|
||||
if (R.Top <> R.Bottom) or (R.Left <> R.Right) then
|
||||
SelStr := SelStr + sLineBreak;
|
||||
end;
|
||||
Clipboard.AsText := SelStr;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user