mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-24 01:40:12 -05:00
render: search: fix subpixel argument to fcft_glyph_rasterize()
This commit is contained in:
parent
2815c1c076
commit
c2362c10f1
1 changed files with 1 additions and 1 deletions
2
render.c
2
render.c
|
|
@ -1660,7 +1660,7 @@ render_search_box(struct terminal *term)
|
||||||
draw_bar(term, buf->pix[0], font, &fg, x, y);
|
draw_bar(term, buf->pix[0], font, &fg, x, y);
|
||||||
|
|
||||||
const struct fcft_glyph *glyph = fcft_glyph_rasterize(
|
const struct fcft_glyph *glyph = fcft_glyph_rasterize(
|
||||||
font, term->search.buf[i], true);
|
font, term->search.buf[i], term->font_subpixel);
|
||||||
|
|
||||||
if (glyph == NULL)
|
if (glyph == NULL)
|
||||||
continue;
|
continue;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue