diff --git a/src/text.c b/src/text.c index 97d8b5b6..af22303e 100644 --- a/src/text.c +++ b/src/text.c @@ -1183,16 +1183,14 @@ void do_justify(bool full_justify) * since we'll do that after we justify. * * If the search failed, we do one of two things. If we're - * justifying the whole file, we've found at least one - * paragraph, and the search didn't leave us on the last line of - * the file, it means that we should justify all the way to the + * justifying the whole file, and we've found at least one + * paragraph, it means that we should justify all the way to the * last line of the file, so set the last line of the text to be * justified to the last line of the file and break out of the * loop. Otherwise, it means that there are no paragraph(s) to * justify, so refresh the screen and get out. */ if (!find_paragraph("e_len, &par_len)) { - if (full_justify && first_par_line != NULL && - first_par_line != openfile->filebot) { + if (full_justify && first_par_line != NULL) { last_par_line = openfile->filebot; break; } else {