diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2013-11-28 22:12:41 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2013-11-28 22:12:41 +0000 |
commit | 4f7881a33f315e2775d67d25c5154c9ecfc5cea1 (patch) | |
tree | 75429fa97714ef5f86ffa8394a53345c6c8bc0d5 /usr.bin/vi/cl | |
parent | 290f5e984f706b1e66ceb9741dee87bd6aa8ed4c (diff) |
Convert the display screens and hidden screens CIRCLEQ's to TAILQ's.
ok pelikan@ zhuk@
Diffstat (limited to 'usr.bin/vi/cl')
-rw-r--r-- | usr.bin/vi/cl/cl_screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vi/cl/cl_screen.c b/usr.bin/vi/cl/cl_screen.c index 610f5bef919..4fc553cdb56 100644 --- a/usr.bin/vi/cl/cl_screen.c +++ b/usr.bin/vi/cl/cl_screen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cl_screen.c,v 1.19 2009/10/27 23:59:47 deraadt Exp $ */ +/* $OpenBSD: cl_screen.c,v 1.20 2013/11/28 22:12:40 krw Exp $ */ /*- * Copyright (c) 1993, 1994 @@ -89,7 +89,7 @@ cl_screen(sp, flags) if (F_ISSET(sp, SC_SCR_VI)) { F_CLR(sp, SC_SCR_VI); - if (CIRCLEQ_NEXT(sp, q) != CIRCLEQ_END(&gp->dq)) { + if (TAILQ_NEXT(sp, q)) { (void)move(RLNO(sp, sp->rows), 0); clrtobot(); } |