1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-07-04 02:35:29 +00:00

Drop some dead code in add_document_line: line_pos should never be

negative.
This commit is contained in:
Miciah Dashiel Butler Masters 2005-12-26 10:31:06 +00:00 committed by Miciah Dashiel Butler Masters
parent 26c9bdf538
commit e64871f5e2

View File

@ -304,8 +304,6 @@ add_document_line(struct plain_renderer *renderer,
} else if (line_char == ASCII_BS) {
if (!(expanded + line_pos)) {
/* We've backspaced to the start of the line */
if (expanded > 0)
expanded--; /* Don't count it */
continue;
}