nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 4c221675a84554716e7f92c192008f21983374d4
parent 50a33dbbb74de71a3bd1b026896dbbe59e5b1798
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sun, 17 Jul 2005 15:40:49 +0000

comment fixes


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

Diffstat:
Msrc/nano.c | 8++++----
Msrc/winio.c | 2+-
2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/nano.c b/src/nano.c @@ -3051,12 +3051,12 @@ filestruct *backup_lines(filestruct *first_line, size_t par_len, size_t for (i = par_len; i > 0; i--) bot = bot->next; - /* Move the paragraph from the main filestruct to the justify - * buffer. */ + /* Move the paragraph from the current buffer's filestruct to the + * justify buffer. */ move_to_filestruct(&jusbuffer, &jusbottom, top, 0, bot, 0); - /* Copy the paragraph from the justify buffer to the main - * filestruct. */ + /* Copy the paragraph back to the current buffer's filestruct from + * the justify buffer. */ copy_from_filestruct(jusbuffer, jusbottom); /* Move upward from the last line of the paragraph to the first diff --git a/src/winio.c b/src/winio.c @@ -4100,7 +4100,7 @@ void dump_filestruct(const filestruct *inptr) } } -/* Dump the main filestruct to stderr in reverse. */ +/* Dump the current buffer's filestruct to stderr in reverse. */ void dump_filestruct_reverse(void) { const filestruct *fileptr = openfile->filebot;