diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-05-05 15:17:32 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-05-05 15:17:32 +0000 |
commit | ac714e0488d7c68718c62be1daa50511092a070d (patch) | |
tree | 23603ba00471fb588afdd3b7c5765fab62424249 /man.c | |
parent | 264209da4a75cf323caf3e1a5e89534f15086b73 (diff) | |
download | mandoc-ac714e0488d7c68718c62be1daa50511092a070d.tar.gz mandoc-ac714e0488d7c68718c62be1daa50511092a070d.tar.zst mandoc-ac714e0488d7c68718c62be1daa50511092a070d.zip |
Move .sp to the roff modules. Enough infrastructure is in place
now that this actually saves code: -70 LOC.
Diffstat (limited to 'man.c')
-rw-r--r-- | man.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: man.c,v 1.171 2017/05/01 23:27:39 schwarze Exp $ */ +/* $Id: man.c,v 1.172 2017/05/05 15:17:32 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -97,7 +97,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; |