summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/fpg_memo.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/fpg_memo.pas b/src/gui/fpg_memo.pas
index 0e0d0f83..c61269c9 100644
--- a/src/gui/fpg_memo.pas
+++ b/src/gui/fpg_memo.pas
@@ -1665,7 +1665,7 @@ begin
for n := 0 to LineCount-1 do
begin
if n > 0 then
- s := s + #13#10;
+ s := s + LineEnding;
s := s + GetLineText(n);
end;
Result := s;