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:
parent
089189638b
commit
eecb907585
@ -341,11 +341,11 @@ draw_blockquote_chars(struct part *part, int y, struct html_context *html_contex
|
|||||||
schar->data = '>';
|
schar->data = '>';
|
||||||
for (i = 1; i < par_format.blockquote_level; i++) {
|
for (i = 1; i < par_format.blockquote_level; i++) {
|
||||||
copy_screen_chars(&POS(x, y), schar, 1);
|
copy_screen_chars(&POS(x, y), schar, 1);
|
||||||
part->char_width[x++] = 1;
|
if (part->char_width) part->char_width[x++] = 1;
|
||||||
}
|
}
|
||||||
schar->data = ' ';
|
schar->data = ' ';
|
||||||
copy_screen_chars(&POS(x, y), schar, 1);
|
copy_screen_chars(&POS(x, y), schar, 1);
|
||||||
part->char_width[x++] = 1;
|
if (part->char_width) part->char_width[x++] = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user