comment fix: justify_format() could have just left out a space at the

end of the line instead of removing it


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1750 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2004-05-20 14:31:15 +00:00
parent 8e4adcdac3
commit 684e7ebd37
1 changed files with 1 additions and 1 deletions

View File

@ -2575,7 +2575,7 @@ int do_justify(int full_justify)
/* If the line we were on before still exists, and it was /* If the line we were on before still exists, and it was
* not the last line of the paragraph, add a space to the * not the last line of the paragraph, add a space to the
* end of it to replace the one removed by * end of it to replace the one removed or left out by
* justify_format(). */ * justify_format(). */
if (current->prev != NULL && par_len > 1) { if (current->prev != NULL && par_len > 1) {
size_t prev_line_len = strlen(current->prev->data); size_t prev_line_len = strlen(current->prev->data);