[BACK]Return to term_ascii.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/term_ascii.c between version 1.32 and 1.33

version 1.32, 2015/04/04 17:46:58 version 1.33, 2015/07/17 22:35:36
Line 60 
Line 60 
         p = mandoc_calloc(1, sizeof(struct termp));          p = mandoc_calloc(1, sizeof(struct termp));
   
         p->symtab = mchars;          p->symtab = mchars;
           p->line = 1;
         p->tabwidth = 5;          p->tabwidth = 5;
         p->defrmargin = p->lastrmargin = 78;          p->defrmargin = p->lastrmargin = 78;
         p->fontq = mandoc_reallocarray(NULL,          p->fontq = mandoc_reallocarray(NULL,
Line 151 
Line 152 
         size_t           i;          size_t           i;
   
         p = (struct termp *)arg;          p = (struct termp *)arg;
           p->line += 3;
         putchar('\n');          putchar('\n');
         for (i = 0; i < p->defrmargin; i++)          for (i = 0; i < p->defrmargin; i++)
                 putchar('-');                  putchar('-');
Line 197 
Line 199 
 ascii_endline(struct termp *p)  ascii_endline(struct termp *p)
 {  {
   
           p->line++;
         putchar('\n');          putchar('\n');
 }  }
   
Line 352 
Line 355 
 locale_endline(struct termp *p)  locale_endline(struct termp *p)
 {  {
   
           p->line++;
         putwchar(L'\n');          putwchar(L'\n');
 }  }
   

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33