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

Diff for /src/usr.bin/mandoc/Attic/mdoc_action.c between version 1.46 and 1.47

version 1.46, 2010/10/24 18:15:43 version 1.47, 2010/10/26 22:48:07
Line 665 
Line 665 
                 assert(MDOC_BLOCK == nn->type);                  assert(MDOC_BLOCK == nn->type);
                 nn = nn->head->child;                  nn = nn->head->child;
   
                 if (nn == NULL) {                  if (nn == NULL)
                         /* No -width for .Bl and first .It is emtpy */  
                         if ( ! mdoc_nmsg(m, n, MANDOCERR_NOWIDTHARG))  
                                 return(0);  
                         break;                          break;
                 }  
   
                 if (MDOC_TEXT == nn->type) {                  if (MDOC_TEXT == nn->type) {
                         sz = strlen(nn->string) + 1;                          sz = strlen(nn->string) + 1;
Line 679 
Line 675 
   
                 if (0 != (ssz = mdoc_macro2len(nn->tok)))                  if (0 != (ssz = mdoc_macro2len(nn->tok)))
                         sz = ssz;                          sz = ssz;
                 else if ( ! mdoc_nmsg(m, n, MANDOCERR_NOWIDTHARG))  
                         return(0);  
   
                 break;                  break;
         }          }

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47