summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2011-05-19 16:44:34 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2011-05-19 16:44:34 +0200
commitdf58db54af73453b0f2d5b028a86a174147e9734 (patch)
treec6d9b7fef77a6bd9b37e4765bda801f7f6dcccfc /src
parente627094f2c19f66a2d2d40bdfb5979e7aee0b169 (diff)
downloadfpGUI-df58db54af73453b0f2d5b028a86a174147e9734.tar.xz
Changed hard-coded line endings to LineEnding variable.
Not sure if this will break anything. I can't really see why it should.
Diffstat (limited to 'src')
-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;