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