diff --git a/src/text.c b/src/text.c index fb40aa6b..bb5625e8 100644 --- a/src/text.c +++ b/src/text.c @@ -1467,7 +1467,7 @@ bool begpar(const linestruct *const line, int depth) /* If this is the very first line of the buffer, it counts as a BOP * even when it contains no text. */ - if (line == openfile->filetop) + if (line->prev == NULL) return TRUE; /* If recursion is going too deep, just say it's not a BOP. */