summaryrefslogtreecommitdiff
path: root/usr.bin/mg/buffer.c
diff options
context:
space:
mode:
authorBrian Callahan <bcallah@cvs.openbsd.org>2015-03-16 13:47:49 +0000
committerBrian Callahan <bcallah@cvs.openbsd.org>2015-03-16 13:47:49 +0000
commitdb0f5f8b18c7ed65ebad8d451f2abd4682065301 (patch)
tree80cc9771bb2cbcfeb5614188799372c79d0002e6 /usr.bin/mg/buffer.c
parentf845d345af3d8d0e0a31f8e3b6c2236d279085fe (diff)
Change the internal name of the newline function to deconflict with a
function of the same name in term.h. This is the first step towards cleaning up mg's includes. No user-visible changes. ok florian@
Diffstat (limited to 'usr.bin/mg/buffer.c')
-rw-r--r--usr.bin/mg/buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/buffer.c b/usr.bin/mg/buffer.c
index de7b59c71af..ba5a11dd1f8 100644
--- a/usr.bin/mg/buffer.c
+++ b/usr.bin/mg/buffer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: buffer.c,v 1.94 2014/06/12 16:29:41 bcallah Exp $ */
+/* $OpenBSD: buffer.c,v 1.95 2015/03/16 13:47:48 bcallah Exp $ */
/* This file is in the public domain. */
@@ -761,7 +761,7 @@ bufferinsert(int f, int n)
return (FALSE);
if ((clp = lforw(clp)) == bp->b_headp)
break;
- if (newline(FFRAND, 1) == FALSE) /* fake newline */
+ if (enewline(FFRAND, 1) == FALSE) /* fake newline */
return (FALSE);
nline++;
}