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

Diff for /mandoc/term.c between version 1.205 and 1.206

version 1.205, 2012/07/16 21:30:42 version 1.206, 2012/11/16 17:16:55
Line 376  void
Line 376  void
 term_fontpopq(struct termp *p, const void *key)  term_fontpopq(struct termp *p, const void *key)
 {  {
   
         while (p->fonti >= 0 && key != &p->fontq[p->fonti])          while (p->fonti >= 0 && key < (void *)(p->fontq + p->fonti))
                 p->fonti--;                  p->fonti--;
         assert(p->fonti >= 0);          assert(p->fonti >= 0);
 }  }

Legend:
Removed from v.1.205  
changed lines
  Added in v.1.206

CVSweb