1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[blockquote] Workaround for segfault on distrowatch

This commit is contained in:
Witold Filipczyk 2021-03-16 13:14:02 +01:00
parent 089189638b
commit eecb907585

View File

@ -341,11 +341,11 @@ draw_blockquote_chars(struct part *part, int y, struct html_context *html_contex
schar->data = '>';
for (i = 1; i < par_format.blockquote_level; i++) {
copy_screen_chars(&POS(x, y), schar, 1);
part->char_width[x++] = 1;
if (part->char_width) part->char_width[x++] = 1;
}
schar->data = ' ';
copy_screen_chars(&POS(x, y), schar, 1);
part->char_width[x++] = 1;
if (part->char_width) part->char_width[x++] = 1;
}
void