diff --git a/src/nano.c b/src/nano.c index da6175720201b20c37043563e9e6a4497e944c14..30dc56c31aa0d8ebd49ebc6575b05cd770927ced 100644 --- 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 index 0a99eeaf2bcfd9e9c9698991dbc4f92128948a41..4ce297dbdab17fa30a5a86de8d35e49b487e8ee4 100644 --- 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;