[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.37 and 1.38

version 1.37, 2010/05/24 00:00:10 version 1.38, 2010/05/24 02:24:05
Line 633 
Line 633 
         /* Defaults to ten ens. */          /* Defaults to ten ens. */
   
         sz = 10; /* XXX: make this a macro value. */          sz = 10; /* XXX: make this a macro value. */
         nn = n->body->child;  
   
           for (nn = n->body->child; nn; nn = nn->next) {
                   if (MDOC_It == nn->tok)
                           break;
           }
   
         if (nn) {          if (nn) {
                 assert(MDOC_BLOCK == nn->type);                  assert(MDOC_BLOCK == nn->type);
                 assert(MDOC_It == nn->tok);  
                 nn = nn->head->child;                  nn = nn->head->child;
                 if (MDOC_TEXT != nn->type) {                  if (MDOC_TEXT != nn->type) {
                         sz = mdoc_macro2len(nn->tok);                          sz = mdoc_macro2len(nn->tok);

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38