summaryrefslogtreecommitdiff
path: root/position.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2012-11-04 20:47:39 +0000
committerXin LI <delphij@FreeBSD.org>2012-11-04 20:47:39 +0000
commit55772d5d72ea3532365f6c31b4599229763e64b1 (patch)
treebd9a3fd634e94850ccb1a2e5934cc981b30f9eb2 /position.c
parent9fd1a2751f1696d0214ae5bd77550d31eb4dcd2e (diff)
Diffstat (limited to 'position.c')
-rw-r--r--position.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/position.c b/position.c
index 95183073d4c4..b655f077e3d8 100644
--- a/position.c
+++ b/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);
}