diff options
Diffstat (limited to 'usr.bin/vi/ex/ex_append.c')
-rw-r--r-- | usr.bin/vi/ex/ex_append.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/vi/ex/ex_append.c b/usr.bin/vi/ex/ex_append.c index 88e2a8c5344..1016d319c5d 100644 --- a/usr.bin/vi/ex/ex_append.c +++ b/usr.bin/vi/ex/ex_append.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ex_append.c,v 1.6 2002/02/16 21:27:57 millert Exp $ */ +/* $OpenBSD: ex_append.c,v 1.7 2005/10/17 19:12:16 otto Exp $ */ /*- * Copyright (c) 1992, 1993, 1994 @@ -262,8 +262,8 @@ ex_aci(sp, cmdp, cmd) if (ex_txt(sp, &tiq, 0, flags)) return (1); - for (cnt = 0, tp = tiq.cqh_first; - tp != (TEXT *)&tiq; ++cnt, tp = tp->q.cqe_next) + for (cnt = 0, tp = CIRCLEQ_FIRST(&tiq); + tp != (TEXT *)&tiq; ++cnt, tp = CIRCLEQ_NEXT(tp, q)) if (db_append(sp, 1, lno++, tp->lb, tp->len)) return (1); |