herbe

[fork] notifications
Log | Files | Refs | README | LICENSE

commit 384c1fae6d5c5f1cbc4ec8ce3e6246d4365073e7
parent 5505ac7d5951eda956d81c66a2b3ff764f4f27bf
Author: Samuel Dudik <samuel.dudik@gmail.com>
Date:   Fri, 31 Jul 2020 09:36:35 +0200

Add UTF8 support

Diffstat:
Mherbe.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/herbe.c b/herbe.c @@ -90,7 +90,7 @@ int main(int argc, char *argv[]) if (event.type == Expose) { XClearWindow(display, window); - XftDrawString8(draw, &color, font, text_padding, height - text_padding, (XftChar8 *)argv[1], strlen(argv[1])); + XftDrawStringUtf8(draw, &color, font, text_padding, height - text_padding, (XftChar8 *)argv[1], strlen(argv[1])); } if (event.type == ButtonPress) break;