From 6561cb236ca8d6ce04d90c88a7bf8b7d5848f466 Mon Sep 17 00:00:00 2001 From: schwarze Date: Fri, 5 May 2017 15:16:25 +0000 Subject: Move .sp to the roff modules. Enough infrastructure is in place now that this actually saves code: -70 LOC. --- usr.bin/mandoc/man.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/mandoc/man.c') diff --git a/usr.bin/mandoc/man.c b/usr.bin/mandoc/man.c index 4895f0fbd16..2d9eb25c215 100644 --- a/usr.bin/mandoc/man.c +++ b/usr.bin/mandoc/man.c @@ -1,4 +1,4 @@ -/* $OpenBSD: man.c,v 1.119 2017/05/01 23:27:23 schwarze Exp $ */ +/* $OpenBSD: man.c,v 1.120 2017/05/05 15:16:25 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze @@ -95,7 +95,7 @@ man_ptext(struct roff_man *man, int line, char *buf, int offs) /* Allocate a blank entry. */ if (man->last->tok != MAN_SH && man->last->tok != MAN_SS) { - roff_elem_alloc(man, line, offs, MAN_sp); + roff_elem_alloc(man, line, offs, ROFF_sp); man->next = ROFF_NEXT_SIBLING; } return 1; -- cgit v1.2.3-59-g8ed1b