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:
ondrej 2016-05-23 06:13:04 +00:00
parent 0b9e2259d5
commit 58277d75f2

View File

@ -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;