Return to term.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.205, 2012/07/16 21:30:42 | version 1.206, 2012/11/16 17:16:55 | ||
---|---|---|---|
|
|
||
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); | ||
} | } |