add missing blank lines

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2362 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-03-14 00:38:36 +00:00
parent 801a8b51d1
commit b159605a5b
1 changed files with 2 additions and 0 deletions

View File

@ -3103,9 +3103,11 @@ void do_justify(bool full_justify)
/* Break the line, and add the space back to where we broke /* Break the line, and add the space back to where we broke
* it. */ * it. */
null_at(&current->data, break_pos); null_at(&current->data, break_pos);
current->data = charealloc(current->data, break_pos + 2); current->data = charealloc(current->data, break_pos + 2);
current->data[break_pos] = ' '; current->data[break_pos] = ' ';
current->data[break_pos + 1] = '\0'; current->data[break_pos + 1] = '\0';
totsize++; totsize++;
/* Go to the next line. */ /* Go to the next line. */