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

Diff for /mandoc/Attic/action.c between version 1.16 and 1.19

version 1.16, 2009/01/21 11:35:26 version 1.19, 2009/02/22 14:31:08
Line 194  post_sh(struct mdoc *mdoc)
Line 194  post_sh(struct mdoc *mdoc)
         if (xstrlcats(buf, mdoc->last->child, 64)) {          if (xstrlcats(buf, mdoc->last->child, 64)) {
                 if (SEC_CUSTOM != (sec = mdoc_atosec(buf)))                  if (SEC_CUSTOM != (sec = mdoc_atosec(buf)))
                         mdoc->lastnamed = sec;                          mdoc->lastnamed = sec;
                   mdoc->lastsec = sec;
                 return(1);                  return(1);
         }          }
   
Line 216  post_dt(struct mdoc *mdoc)
Line 217  post_dt(struct mdoc *mdoc)
   
         assert(NULL == mdoc->meta.title);          assert(NULL == mdoc->meta.title);
   
           /* LINTED */
         for (i = 0, n = mdoc->last->child; n; n = n->next, i++) {          for (i = 0, n = mdoc->last->child; n; n = n->next, i++) {
                 assert(MDOC_TEXT == n->type);                  assert(MDOC_TEXT == n->type);
                 p = n->data.text.string;                  p = n->data.text.string;
Line 243  post_dt(struct mdoc *mdoc)
Line 245  post_dt(struct mdoc *mdoc)
         }          }
   
         if (NULL == mdoc->meta.title)          if (NULL == mdoc->meta.title)
                 mdoc->meta.title = xstrdup("untitled");                  mdoc->meta.title = xstrdup("UNTITLED");
   
         mdoc_msg(mdoc, "title: %s", mdoc->meta.title);          mdoc_msg(mdoc, "title: %s", mdoc->meta.title);
   

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.19

CVSweb