gui/eventlist: fix paintItem() [patch from Benny]

Origin commit data
------------------
Commit: f4fd139e08
Author: martii <m4rtii@gmx.de>
Date: 2014-05-28 (Wed, 28 May 2014)
This commit is contained in:
martii
2014-05-28 19:26:40 +02:00
committed by Jacek Jendrzej
parent 657e9ea02a
commit 42d280792b

View File

@@ -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, 0, true); // UTF-8
g_Font[SNeutrinoSettings::FONT_TYPE_EVENTLIST_ITEMSMALL]->RenderString(x+width-fwidth2-5- 20- w, ypos+ fheight1+3, w, 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