aboutsummaryrefslogtreecommitdiff
path: root/src/tsar.c
diff options
context:
space:
mode:
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);
}