]> git.wh0rd.org Git - nano.git/commit
- When undoing a cut, set cutbuffer to NULL after freeing the current one
authorChris Allegretta <chrisa@asty.org>
Fri, 1 Aug 2008 06:52:15 +0000 (06:52 +0000)
committerChris Allegretta <chrisa@asty.org>
Fri, 1 Aug 2008 06:52:15 +0000 (06:52 +0000)
commit8f761120849447cd5045b0e09aa5830996826fdc
tree37d5a4b4e4d696d782c8a97138cb96fe1cdb49f5
parent1f37c4514d1839b3da23dda5f28153e7edfd28c0
- When undoing a cut, set cutbuffer to NULL after freeing the current one
- When updating a normal consecutive ^K cut, bail from add_undo since it's not an add, and in update_undo free the old cutbuffer before copying it again.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4287 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
src/text.c