X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/b3f3a6a51c3b17c4acd286ad1d338ee962a974a9..c978941ffb05504ecab6ad47f243d268cfc38a56:/lib/gui/esubtitle.cpp?ds=sidebyside 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)