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

Diff for /mandoc/mdoc_term.c between version 1.20 and 1.21

version 1.20, 2009/07/04 11:07:34 version 1.21, 2009/07/05 19:25:10
Line 532  arg_width(const struct mdoc_argv *arg, int pos)
Line 532  arg_width(const struct mdoc_argv *arg, int pos)
   
         assert(pos < (int)arg->sz && pos >= 0);          assert(pos < (int)arg->sz && pos >= 0);
         assert(arg->value[pos]);          assert(arg->value[pos]);
         if (0 == strcmp(arg->value[pos], "indent"))  
                 return(INDENT + 3);  
         if (0 == strcmp(arg->value[pos], "indent-two"))  
                 return(INDENT * 2 + 2);  
   
         if (0 == (len = (int)strlen(arg->value[pos])))          if (0 == (len = (int)strlen(arg->value[pos])))
                 return(0);                  return(0);

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

CVSweb