summaryrefslogtreecommitdiff
path: root/usr.bin/vi/ex/ex_subst.c
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2005-10-17 19:12:17 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2005-10-17 19:12:17 +0000
commitfc91c16f0414890757292add34af8bee286c868f (patch)
treecae7aadb7c382702828e9adfc895f1537896aa47 /usr.bin/vi/ex/ex_subst.c
parent8728eaba8fdf623ad4a0e57bddd7a3237166a42a (diff)
Use queue macros instead of directly accessing fields. ok pat@ "put it
in" deraadt@
Diffstat (limited to 'usr.bin/vi/ex/ex_subst.c')
-rw-r--r--usr.bin/vi/ex/ex_subst.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vi/ex/ex_subst.c b/usr.bin/vi/ex/ex_subst.c
index bb10bcea575..454f1d2f85e 100644
--- a/usr.bin/vi/ex/ex_subst.c
+++ b/usr.bin/vi/ex/ex_subst.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ex_subst.c,v 1.12 2002/02/17 19:42:34 millert Exp $ */
+/* $OpenBSD: ex_subst.c,v 1.13 2005/10/17 19:12:16 otto Exp $ */
/*-
* Copyright (c) 1992, 1993, 1994
@@ -662,7 +662,7 @@ nextmatch: match[0].rm_so = 0;
goto lquit;
if (ex_txt(sp, &tiq, 0, TXT_CR))
goto err;
- ev.e_c = tiq.cqh_first->lb[0];
+ ev.e_c = CIRCLEQ_FIRST(&tiq)->lb[0];
}
switch (ev.e_c) {