aboutsummaryrefslogtreecommitdiff
path: root/lib/gui
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-10-31 11:10:30 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-10-31 11:10:30 +0000
commitc978941ffb05504ecab6ad47f243d268cfc38a56 (patch)
tree64c16c1db7773c37c9df73980df894ec7de66018 /lib/gui
parentb3f3a6a51c3b17c4acd286ad1d338ee962a974a9 (diff)
downloadenigma2-c978941ffb05504ecab6ad47f243d268cfc38a56.tar.gz
enigma2-c978941ffb05504ecab6ad47f243d268cfc38a56.zip
more complete implementation of national option character subsets
ignore non direct displayable teletext pakets
Diffstat (limited to 'lib/gui')
-rw-r--r--lib/gui/esubtitle.cpp5
1 files changed, 2 insertions, 3 deletions
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)