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-d3aeb78583b8master
parent
8e4adcdac3
commit
684e7ebd37
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue