aboutsummaryrefslogtreecommitdiff
path: root/src/tsar.c
diff options
context:
space:
mode:
authorne_mene <[email protected]>2026-03-02 01:22:56 +0100
committerne_mene <[email protected]>2026-03-02 01:22:56 +0100
commitcec2fcedf8dfdd839b0580451d0bce0d0351e780 (patch)
treef72ec88c89e1f68ec8b298e8384d42586021ee84 /src/tsar.c
parent2b79dc291a51e774a5e00ee92ec5b733d6ba24a4 (diff)
utf8
Diffstat (limited to 'src/tsar.c')
-rw-r--r--src/tsar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tsar.c b/src/tsar.c
index 9c6a87e..8799421 100644
--- a/src/tsar.c
+++ b/src/tsar.c
@@ -116,7 +116,7 @@ void draw_text(const char* text, int x, int y) {
);
int dy = y + (bar_height - font->height) / 2 + font->ascent;
- XftDrawString8(xft_draw, &xft_fg_color, font, x, dy, (const FcChar8*)text, strlen(text));
+ XftDrawStringUtf8(xft_draw, &xft_fg_color, font, x, dy, (const FcChar8*)text, strlen(text));
XftDrawDestroy(xft_draw);
}