In add_document_line, check expanded + line_pos rather than just
commit92c9b86374d75dc43b9b249f0a970b3620ecc394
authorMiciah Dashiel Butler Masters <miciah@myrealbox.com>
Mon, 26 Dec 2005 11:43:18 +0000 (26 11:43 +0000)
committerMiciah Dashiel Butler Masters <miciah@FroodyComp.localdomain>
Mon, 26 Dec 2005 11:43:18 +0000 (26 11:43 +0000)
tree951a1c3f4b19482bc3b21dd1c61905ea736ab95b
parenteeb51bffea56173914e429f98930fb3d1d8e3025
In add_document_line, check expanded + line_pos rather than just
expanded when checking whether there are enough characters on the line
to decrement expanded by 2. This fixes the problem reported by fonseca
where the linked text was offset from the URI when there were backspaces
earlier on the line.
src/document/plain/renderer.c