X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/1ac36b6e99c0b4196f4e9358c2810b9aba6ced33..058d38ca9bcfe94c5c551eac231f808330af3581:/lib/gui/esubtitle.cpp diff --git a/lib/gui/esubtitle.cpp b/lib/gui/esubtitle.cpp index 729f6b4d..ab07a8bf 100644 --- a/lib/gui/esubtitle.cpp +++ b/lib/gui/esubtitle.cpp @@ -95,11 +95,10 @@ int eSubtitleWidget::event(int event, void *data, void *data2) eRect &area = element.m_area; eRect shadow = area; shadow.moveBy(3,3); - std::string text = convertLatin1UTF8(element.m_text); painter.setForegroundColor(gRGB(0,0,0)); - painter.renderText(shadow, text, gPainter::RT_WRAP|gPainter::RT_VALIGN_CENTER|gPainter::RT_HALIGN_CENTER); + painter.renderText(shadow, element.m_text, gPainter::RT_WRAP|gPainter::RT_VALIGN_CENTER|gPainter::RT_HALIGN_CENTER); painter.setForegroundColor(element.m_color); - painter.renderText(area, text, gPainter::RT_WRAP|gPainter::RT_VALIGN_CENTER|gPainter::RT_HALIGN_CENTER); + painter.renderText(area, element.m_text, gPainter::RT_WRAP|gPainter::RT_VALIGN_CENTER|gPainter::RT_HALIGN_CENTER); } } else if (m_dvb_page_ok)