From 4a41575cb5d2738cf1fb341f0d4413dee1bf67cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Thu, 22 Jul 2021 21:23:29 +0200 Subject: [PATCH] =?UTF-8?q?render:=20render=5Fosd()=20now=20needs=20a=20?= =?UTF-8?q?=E2=80=98font=E2=80=99=20argument?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- render.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/render.c b/render.c index 91499a43..82720d22 100644 --- a/render.c +++ b/render.c @@ -2120,7 +2120,7 @@ render_scrollback_position(struct terminal *term) term, win->scrollback_indicator.surf, win->scrollback_indicator.sub, - buf, text, + term->fonts[0], buf, text, term->colors.table[0], 0xffu << 24 | term->colors.table[8 + 4], width - margin - wcslen(text) * term->cell_width, margin); } @@ -2154,7 +2154,7 @@ render_render_timer(struct terminal *term, struct timeval render_time) term, win->render_timer.surf, win->render_timer.sub, - buf, text, + term->fonts[0], buf, text, term->colors.table[0], 0xffu << 24 | term->colors.table[8 + 1], margin, margin); } @@ -3123,7 +3123,7 @@ render_urls(struct terminal *term) (term->margins.top + y) / term->scale); render_osd( - term, surf, sub_surf, bufs[i], label, + term, surf, sub_surf, term->fonts[0], bufs[i], label, fg, 0xffu << 24 | bg, x_margin, y_margin); free(info[i].text);