1
1
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3117 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
David Lawrence Ramsey 2005-11-09 00:25:30 +00:00
родитель b387137af7
Коммит a016d1939d

Просмотреть файл

@ -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);