=================================================================== RCS file: /cvs/mandoc/term_ascii.c,v retrieving revision 1.68 retrieving revision 1.69 diff -u -p -r1.68 -r1.69 --- mandoc/term_ascii.c 2022/08/16 17:45:55 1.68 +++ mandoc/term_ascii.c 2023/11/13 19:13:01 1.69 @@ -1,4 +1,4 @@ -/* $Id: term_ascii.c,v 1.68 2022/08/16 17:45:55 schwarze Exp $ */ +/* $Id: term_ascii.c,v 1.69 2023/11/13 19:13:01 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons * Copyright (c) 2014,2015,2017,2018,2020 Ingo Schwarze @@ -72,6 +72,7 @@ ascii_init(enum termenc enc, const struct manoutput *o p->maxtcol = 1; p->line = 1; + p->defindent = 5; p->defrmargin = p->lastrmargin = 78; p->fontq = mandoc_reallocarray(NULL, (p->fontsz = 8), sizeof(*p->fontq)); @@ -122,10 +123,8 @@ ascii_init(enum termenc enc, const struct manoutput *o } #endif - if (outopts->mdoc) { + if (outopts->mdoc) p->mdocstyle = 1; - p->defindent = 5; - } if (outopts->indent) p->defindent = outopts->indent; if (outopts->width)