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

Diff for /mandoc/man_term.c between version 1.4 and 1.7

version 1.4, 2009/03/26 16:23:22 version 1.7, 2009/04/05 16:34:22
Line 80  static const struct termact termacts[MAN_MAX] = {
Line 80  static const struct termact termacts[MAN_MAX] = {
         { pre_I, post_I }, /* I */          { pre_I, post_I }, /* I */
         { pre_IR, NULL }, /* IR */          { pre_IR, NULL }, /* IR */
         { pre_RI, NULL }, /* RI */          { pre_RI, NULL }, /* RI */
           { pre_PP, NULL }, /* br */
           { NULL, NULL }, /* na */
           { pre_I, post_I }, /* i */
 };  };
   
 static  void              print_head(struct termp *,  static  void              print_head(struct termp *,
Line 280  pre_IP(DECL_ARGS)
Line 283  pre_IP(DECL_ARGS)
   
         if (NULL == (nn = n->child))          if (NULL == (nn = n->child))
                 return(1);                  return(1);
   
         /* FIXME - ignore the designator. */  
         nn = nn->next;  
   
         if (MAN_TEXT != nn->type)          if (MAN_TEXT != nn->type)
                 errx(1, "expected text line argument");                  errx(1, "expected text line argument");
   
         offs = (size_t)atoi(nn->string);          if (nn->next) {
         nn = nn->next;                  if (MAN_TEXT != nn->next->type)
                           errx(1, "expected text line argument");
                   offs = (size_t)atoi(nn->next->string);
           } else
                   offs = strlen(nn->string);
   
         p->flags |= TERMP_NOSPACE;          p->flags |= TERMP_NOSPACE;
         p->offset += offs;          p->offset += offs;

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.7

CVSweb