mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-07 04:06:07 -05:00
fix: wrong ctx for underline
This commit is contained in:
parent
e38d9873aa
commit
ce63279994
1 changed files with 1 additions and 3 deletions
|
|
@ -391,9 +391,7 @@ add_rich_diff(struct extraction_context *ctx, struct attributes attrs, const str
|
|||
ctx->buf[ctx->idx++] = U':';
|
||||
ctx->buf[ctx->idx++] = U'1';
|
||||
|
||||
ctx->underline_style = 0;
|
||||
ctx->un = 0;
|
||||
ctx->un_src = 0;
|
||||
ctx->underline_style = UNDERLINE_SINGLE;
|
||||
}
|
||||
} else {
|
||||
if (!init_x1b(&x1b, ctx))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue