]> git.wh0rd.org Git - nano.git/commitdiff
fix more do_justify() breakage
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 10 Nov 2005 21:53:46 +0000 (21:53 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Thu, 10 Nov 2005 21:53:46 +0000 (21:53 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3156 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/text.c

index f28deb7aac5c88a1dcfde32b0bd0ce644d3730c8..33dbd84cf959150f0424a6295cdad9ca53b16147 100644 (file)
@@ -1214,7 +1214,7 @@ void do_justify(bool full_justify)
        if (first_par_line == NULL) {
            backup_lines(openfile->current, full_justify ?
                (openfile->filebot->lineno - openfile->current->lineno +
-               (openfile->filebot->data[0] != '\0') ? 1 : 0) :
+               ((openfile->filebot->data[0] != '\0') ? 1 : 0)) :
                par_len);
            first_par_line = openfile->current;
        }