diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-09-23 10:26:18 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-09-23 10:26:18 +0200 |
commit | 5ba401caa1b47e483410b1d8f605a816e269eedc (patch) | |
tree | 7a7172c064a2a1b65ccea7edcb01d0748bb77aa2 /src/gui | |
parent | db522e57d932fbecfaecea50573cee60b484a99d (diff) | |
download | fpGUI-5ba401caa1b47e483410b1d8f605a816e269eedc.tar.xz |
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.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/fpg_memo.pas | 2 |
1 files changed, 1 insertions, 1 deletions
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 := ''; |