mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Drop some dead code in add_document_line: line_pos should never be
negative.
This commit is contained in:
parent
26c9bdf538
commit
e64871f5e2
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user