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

Diff for /mandoc/mdoc_html.c between version 1.31 and 1.32

version 1.31, 2009/10/18 11:14:04 version 1.32, 2009/10/18 19:03:37
Line 327  static void
Line 327  static void
 a2width(const char *p, struct roffsu *su)  a2width(const char *p, struct roffsu *su)
 {  {
   
         if (a2roffsu(p, su))          if ( ! a2roffsu(p, su, SCALE_MAX)) {
                 return;                  su->unit = SCALE_EM;
         su->unit = SCALE_EM;                  su->scale = (int)strlen(p);
         su->scale = (int)strlen(p);          }
 }  }
   
   
Line 351  a2offs(const char *p, struct roffsu *su)
Line 351  a2offs(const char *p, struct roffsu *su)
                 SCALE_HS_INIT(su, INDENT);                  SCALE_HS_INIT(su, INDENT);
         else if (0 == strcmp(p, "indent-two"))          else if (0 == strcmp(p, "indent-two"))
                 SCALE_HS_INIT(su, INDENT * 2);                  SCALE_HS_INIT(su, INDENT * 2);
         else if ( ! a2roffsu(p, su)) {          else if ( ! a2roffsu(p, su, SCALE_MAX)) {
                 su->unit = SCALE_EM;                  su->unit = SCALE_EM;
                 su->scale = (int)strlen(p);                  su->scale = (int)strlen(p);
         }          }

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

CVSweb