summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--seq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/seq.c b/seq.c
index 970e30b..a75ee3f 100644
--- a/seq.c
+++ b/seq.c
@@ -427,7 +427,7 @@ blaze822_seq_next(char *map, char *range, struct blaze822_seq_iter *iter)
 	if (!iter->lines)  // count total lines
 		find_cur(map, iter);
 
-	if (!iter->start) {
+	if (!iter->s) {
 		int ret = parse_range(map, range, &iter->start, &iter->stop,
 		    iter->cur, iter->lines);
 		if (ret == 1) {