From 5ba401caa1b47e483410b1d8f605a816e269eedc Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Thu, 23 Sep 2010 10:26:18 +0200 Subject: memo: Paste bugfix. Pasting text that consisted of multiple lines wasn't inserted on the correct lines. Resulting in pasted lines being in reverse order. --- src/gui/fpg_memo.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') diff --git a/src/gui/fpg_memo.pas b/src/gui/fpg_memo.pas index a3590e56..6e2f99dd 100644 --- a/src/gui/fpg_memo.pas +++ b/src/gui/fpg_memo.pas @@ -601,7 +601,7 @@ begin if lcnt = 0 then SetLineText(l, si + si8) else - FLines.Insert(l-1, si + si8); + FLines.Insert(l, si + si8); si := ''; si8 := ''; -- cgit v1.2.3-70-g09d2