]> git.wh0rd.org Git - nano.git/commitdiff
add missing blank lines
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 14 Mar 2005 00:38:36 +0000 (00:38 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 14 Mar 2005 00:38:36 +0000 (00:38 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2362 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/nano.c

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