From 67bb4f7d10dc917fe7e064a6aa1f270468fa280e Mon Sep 17 00:00:00 2001 From: martii Date: Mon, 26 May 2014 18:19:40 +0200 Subject: [PATCH] gui/eventlist: utf8 rendering fix (thanks Benny!) --- src/gui/eventlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/eventlist.cpp b/src/gui/eventlist.cpp index 8cca0c519..d4fe16de6 100644 --- a/src/gui/eventlist.cpp +++ b/src/gui/eventlist.cpp @@ -782,7 +782,7 @@ void CNeutrinoEventList::paintItem(unsigned int pos, t_channel_id channel_idI) snprintf(beginnt, sizeof(beginnt), "%s %d %s", g_Locale->getText(LOCALE_WORD_IN), seit, unit_short_minute); int w = g_Font[SNeutrinoSettings::FONT_TYPE_EVENTLIST_ITEMSMALL]->getRenderWidth(beginnt) + 10; - g_Font[SNeutrinoSettings::FONT_TYPE_EVENTLIST_ITEMSMALL]->RenderString(x+width-fwidth2-5- 20- w, ypos+ fheight1+3, fwidth2, beginnt, color); + g_Font[SNeutrinoSettings::FONT_TYPE_EVENTLIST_ITEMSMALL]->RenderString(x+width-fwidth2-5- 20- w, ypos+ fheight1+3, fwidth2, beginnt, color, 0, true); // UTF-8 } g_Font[SNeutrinoSettings::FONT_TYPE_EVENTLIST_ITEMSMALL]->RenderString(x+width-fwidth2-5- 20, ypos+ fheight1+3, fwidth2, duration_str, color, 0, true); // UTF-8