1
0
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:
Witold Filipczyk 2021-03-28 21:02:03 +02:00
parent 834e644515
commit dcc8717d89

View File

@ -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;