summaryrefslogtreecommitdiffstats
path: root/contrib/less/position.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/less/position.c')
-rw-r--r--contrib/less/position.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/less/position.c b/contrib/less/position.c
index 9518307..b655f07 100644
--- a/contrib/less/position.c
+++ b/contrib/less/position.c
@@ -162,7 +162,7 @@ empty_lines(s, e)
register int i;
for (i = s; i <= e; i++)
- if (table[i] != NULL_POSITION)
+ if (table[i] != NULL_POSITION && table[i] != 0)
return (0);
return (1);
}
OpenPOWER on IntegriCloud