mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[tables] Condition for negative x in the expand_lines function. Refs #112
This commit is contained in:
parent
834e644515
commit
dcc8717d89
@ -387,6 +387,10 @@ expand_lines(struct html_context *html_context, struct part *part,
|
||||
|
||||
par_format.color.background = bgcolor;
|
||||
|
||||
if (x < 0) {
|
||||
x = 0;
|
||||
}
|
||||
|
||||
for (line = 0; line < lines; line++) {
|
||||
if (realloc_line(html_context, part->document, Y(y + line), X(x))) return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user