Avoid endless loops while scanning for tables.
commit3d91cf22a04bb0174bb4459d3f3dce832cb69f4a
authorWerner LEMBERG <wl@gnu.org>
Sun, 18 Aug 2002 10:25:21 +0000 (18 10:25 +0000)
committerWerner LEMBERG <wl@gnu.org>
Sun, 18 Aug 2002 10:25:21 +0000 (18 10:25 +0000)
treee97a063bd81b1193bf135687aa1599a4d7badf8a
parent86175a0e48ce9cb987cb5070d45e658eea0fb368
Avoid endless loops while scanning for tables.

* src/devices/grohtml/post-html.cc (list::insert): Set
ptr->right->left.
(html_printer::next_horiz_pos): Add `text_glob' argument; update
all callers.
Return immediately if that argument is NULL.
(html_printer::calc_nf): Don't test if `g' is NULL.
(html_printer::lookahead_for_tables): Use
`glyphs.move_right_get_data'.
Don't test if `g' is NULL.
ChangeLog
src/devices/grohtml/post-html.cc