diff --git a/src/text.c b/src/text.c
index 33dbd84cf959150f0424a6295cdad9ca53b16147..97d8b5b661d384c9d3b06944bd787446ed2be162 100644
--- a/src/text.c
+++ b/src/text.c
@@ -1213,8 +1213,8 @@ void do_justify(bool full_justify)
 	 * first_par_line to the first line of the copy. */
 	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->lineno - openfile->current->lineno +
+		((openfile->filebot->data[0] != '\0') ? 1 : 0) :
 		par_len);
 	    first_par_line = openfile->current;
 	}