commit b7dc8f3a12542fde02620edb757a4ce6b4e994a4 parent 72ad7dc60292309172c9dfed82796f7e7cb55024 Author: David Lawrence Ramsey <pooka109@gmail.com> Date: Fri, 4 Nov 2005 16:34:51 +0000 comment fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3087 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 Diffstat:
M | src/text.c | | | 5 | +++-- |
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/text.c b/src/text.c @@ -129,8 +129,9 @@ void do_delete(void) wrap_reset(); #endif - /* If we deleted the line before filebot, and the resulting - * line at filebot isn't blank, add a new magicline. */ + /* If text has been added to the magicline as a result of + * deleting at the end of the line before filebot, add a new + * magicline. */ if (openfile->current == openfile->filebot && openfile->current->data[0] != '\0') new_magicline();