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

Diff for /mandoc/roff.c between version 1.96 and 1.97

version 1.96, 2010/07/27 13:16:00 version 1.97, 2010/07/27 19:56:50
Line 1081  roff_getstrn(const struct roff *r, const char *name, s
Line 1081  roff_getstrn(const struct roff *r, const char *name, s
         const struct roffstr *n;          const struct roffstr *n;
   
         n = r->first_string;          n = r->first_string;
         while (n && (strncmp(name, n->name, len) || '\0' != n->name[len]))          while (n && (strncmp(name, n->name, len) || '\0' != n->name[(int)len]))
                 n = n->next;                  n = n->next;
   
         return(n ? n->string : NULL);          return(n ? n->string : NULL);

Legend:
Removed from v.1.96  
changed lines
  Added in v.1.97

CVSweb