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

Diff for /src/usr.bin/mandoc/term_ps.c between version 1.2 and 1.3

version 1.2, 2010/06/26 17:56:43 version 1.3, 2010/06/26 19:08:00
Line 60 
Line 60 
 static  void              ps_advance(struct termp *, size_t);  static  void              ps_advance(struct termp *, size_t);
 static  void              ps_endline(struct termp *);  static  void              ps_endline(struct termp *);
 static  void              ps_fclose(struct termp *);  static  void              ps_fclose(struct termp *);
   static  size_t            ps_width(const struct termp *, char);
 static  void              ps_pclose(struct termp *);  static  void              ps_pclose(struct termp *);
 static  void              ps_pletter(struct termp *, char);  static  void              ps_pletter(struct termp *, char);
 static  void              ps_printf(struct termp *, const char *, ...);  static  void              ps_printf(struct termp *, const char *, ...);
Line 75 
Line 76 
         if (NULL == (p = term_alloc(TERMENC_ASCII)))          if (NULL == (p = term_alloc(TERMENC_ASCII)))
                 return(NULL);                  return(NULL);
   
           p->defrmargin = 78;
           p->tabwidth = 5;
   
         p->type = TERMTYPE_PS;          p->type = TERMTYPE_PS;
         p->letter = ps_letter;          p->letter = ps_letter;
         p->begin = ps_begin;          p->begin = ps_begin;
         p->end = ps_end;          p->end = ps_end;
         p->advance = ps_advance;          p->advance = ps_advance;
         p->endline = ps_endline;          p->endline = ps_endline;
           p->width = ps_width;
         return(p);          return(p);
 }  }
   
Line 425 
Line 430 
         p->engine.ps.lastf = f;          p->engine.ps.lastf = f;
 }  }
   
   
   static size_t
   ps_width(const struct termp *p, char c)
   {
   
           return(1);
   }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3