summaryrefslogtreecommitdiff
path: root/src/gui/gui_memo.pas
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui_memo.pas')
-rw-r--r--src/gui/gui_memo.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui_memo.pas b/src/gui/gui_memo.pas
index a925f2f2..599d3fd0 100644
--- a/src/gui/gui_memo.pas
+++ b/src/gui/gui_memo.pas
@@ -565,8 +565,8 @@ end;
function TfpgMemo.GetLineText(linenum: integer): string;
begin
-{ if LineCount < 1 then
- FLines.Add(''); }
+ if LineCount < 1 then
+ FLines.Add('');
if (linenum >= 1) and (linenum <= LineCount) then
Result := FLines.Strings[linenum - 1]
else