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

Diff for /mandoc/Attic/mdoc_action.c between version 1.76 and 1.78

version 1.76, 2010/07/13 23:53:20 version 1.78, 2010/07/30 17:14:09
Line 660  post_bl_tagwidth(POST_ARGS)
Line 660  post_bl_tagwidth(POST_ARGS)
                 assert(MDOC_BLOCK == nn->type);                  assert(MDOC_BLOCK == nn->type);
                 nn = nn->head->child;                  nn = nn->head->child;
   
                   if (nn == NULL) {
                           /* No -width for .Bl and first .It is emtpy */
                           if ( ! mdoc_nmsg(m, n, MANDOCERR_NOWIDTHARG))
                                   return(0);
                           break;
                   }
   
                 if (MDOC_TEXT == nn->type) {                  if (MDOC_TEXT == nn->type) {
                         sz = strlen(nn->string) + 1;                          sz = strlen(nn->string) + 1;
                         break;                          break;
Line 903  static int
Line 910  static int
 post_dd(POST_ARGS)  post_dd(POST_ARGS)
 {  {
         char            buf[DATESIZ];          char            buf[DATESIZ];
   
           if (NULL == n->child) {
                   m->meta.date = time(NULL);
                   return(post_prol(m, n));
           }
   
         if ( ! concat(m, buf, n->child, DATESIZ))          if ( ! concat(m, buf, n->child, DATESIZ))
                 return(0);                  return(0);

Legend:
Removed from v.1.76  
changed lines
  Added in v.1.78

CVSweb