render: search: fix subpixel argument to fcft_glyph_rasterize()

This commit is contained in:
Daniel Eklöf 2020-07-26 10:01:05 +02:00
parent 2815c1c076
commit c2362c10f1
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -1660,7 +1660,7 @@ render_search_box(struct terminal *term)
draw_bar(term, buf->pix[0], font, &fg, x, y);
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)
continue;