formatting fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2333 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-03-01 23:36:34 +00:00
parent 7e110bd28f
commit e6bbee8fe4
1 changed files with 2 additions and 1 deletions

View File

@ -3096,7 +3096,8 @@ void do_justify(bool full_justify)
size_t prev_line_len = strlen(current->prev->data);
if (par_len > 1) {
current->prev->data = charealloc(current->prev->data,
current->prev->data =
charealloc(current->prev->data,
prev_line_len + 2);
current->prev->data[prev_line_len] = ' ';
current->prev->data[prev_line_len + 1] = '\0';