commit a016d1939d1487a919da9aba4c0549a3f619c85c
parent b387137af758481d5a9ec1a3f459b49cccc76028
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Wed, 9 Nov 2005 00:25:30 +0000
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3117 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/cut.c b/src/cut.c
@@ -39,11 +39,10 @@ void cutbuffer_reset(void)
}
/* If we're not on the last line of the file, move all the text of the
- * current line, plus the newline at the end, to the cutbuffer, and set
- * the current place we want to the beginning of the now-nonexistent
- * line. If we are, and the last line of the file isn't blank, move all
- * of the text of the current line to the cutbuffer, and set the current
- * place we want to the beginning of the now-blank line. */
+ * current line, plus the newline at the end, to the cutbuffer. If we
+ * are, and the last line of the file isn't blank, move all of the text
+ * of the current line to the cutbuffer. In both cases, set the current
+ * place we want to the beginning of the current line. */
void cut_line(void)
{
size_t data_len = strlen(openfile->current->data);