[BACK]Return to term_ascii.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/term_ascii.c between version 1.68 and 1.69

version 1.68, 2022/08/16 17:45:55 version 1.69, 2023/11/13 19:13:01
Line 72  ascii_init(enum termenc enc, const struct manoutput *o
Line 72  ascii_init(enum termenc enc, const struct manoutput *o
         p->maxtcol = 1;          p->maxtcol = 1;
   
         p->line = 1;          p->line = 1;
           p->defindent = 5;
         p->defrmargin = p->lastrmargin = 78;          p->defrmargin = p->lastrmargin = 78;
         p->fontq = mandoc_reallocarray(NULL,          p->fontq = mandoc_reallocarray(NULL,
              (p->fontsz = 8), sizeof(*p->fontq));               (p->fontsz = 8), sizeof(*p->fontq));
Line 122  ascii_init(enum termenc enc, const struct manoutput *o
Line 123  ascii_init(enum termenc enc, const struct manoutput *o
         }          }
 #endif  #endif
   
         if (outopts->mdoc) {          if (outopts->mdoc)
                 p->mdocstyle = 1;                  p->mdocstyle = 1;
                 p->defindent = 5;  
         }  
         if (outopts->indent)          if (outopts->indent)
                 p->defindent = outopts->indent;                  p->defindent = outopts->indent;
         if (outopts->width)          if (outopts->width)

Legend:
Removed from v.1.68  
changed lines
  Added in v.1.69

CVSweb