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

Diff for /mandoc/eqn_html.c between version 1.2 and 1.3

version 1.2, 2011/07/24 10:09:03 version 1.3, 2014/04/20 16:46:04
Line 35  static const enum htmltag fontmap[EQNFONT__MAX] = {
Line 35  static const enum htmltag fontmap[EQNFONT__MAX] = {
         TAG_I /* EQNFONT_ITALIC */          TAG_I /* EQNFONT_ITALIC */
 };  };
   
   
 static void     eqn_box(struct html *, const struct eqn_box *);  static void     eqn_box(struct html *, const struct eqn_box *);
   
   
 void  void
 print_eqn(struct html *p, const struct eqn *ep)  print_eqn(struct html *p, const struct eqn *ep)
 {  {
Line 59  eqn_box(struct html *p, const struct eqn_box *bp)
Line 59  eqn_box(struct html *p, const struct eqn_box *bp)
 {  {
         struct tag      *t;          struct tag      *t;
   
         t = EQNFONT_NONE == bp->font ? NULL :          t = EQNFONT_NONE == bp->font ? NULL :
                 print_otag(p, fontmap[(int)bp->font], 0, NULL);              print_otag(p, fontmap[(int)bp->font], 0, NULL);
   
         if (bp->left)          if (bp->left)
                 print_text(p, bp->left);                  print_text(p, bp->left);
   
         if (bp->text)          if (bp->text)
                 print_text(p, bp->text);                  print_text(p, bp->text);
   

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

CVSweb