diff --git a/src/text.c b/src/text.c
index f28deb7aac5c88a1dcfde32b0bd0ce644d3730c8..33dbd84cf959150f0424a6295cdad9ca53b16147 100644
--- a/src/text.c
+++ b/src/text.c
@@ -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;
 	}