aboutsummaryrefslogtreecommitdiff
path: root/main/enigma.cpp
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2010-06-11 23:06:20 +0200
committerFraxinas <andreas.frisch@multimedia-labs.de>2010-06-11 23:06:20 +0200
commit681626f670c65e4ab063dd08840559c767da32fb (patch)
treea32042ee478ead46931db2429fd97c46a7322d44 /main/enigma.cpp
parentf7f442a1d0845e7dfd923c1d783eb612357f3e94 (diff)
parent1445e37b9d2b2d17009cf2b91c24b895a288a702 (diff)
downloadenigma2-681626f670c65e4ab063dd08840559c767da32fb.tar.gz
enigma2-681626f670c65e4ab063dd08840559c767da32fb.zip
Merge branch 'experimental' of git.opendreambox.org:/git/enigma2 into experimental
Diffstat (limited to 'main/enigma.cpp')
-rw-r--r--main/enigma.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/enigma.cpp b/main/enigma.cpp
index 3f420b4b..b8554d58 100644
--- a/main/enigma.cpp
+++ b/main/enigma.cpp
@@ -172,11 +172,11 @@ int main(int argc, char **argv)
eTextPara::forceReplacementGlyph(i);
eWidgetDesktop dsk(eSize(720, 576));
- eWidgetDesktop dsk_lcd(eSize(132, 64));
-
+ eWidgetDesktop dsk_lcd(my_lcd_dc->size());
+
dsk.setStyleID(0);
- dsk_lcd.setStyleID(1);
-
+ dsk_lcd.setStyleID(my_lcd_dc->size().width() == 96 ? 2 : 1);
+
/* if (double_buffer)
{
eDebug(" - double buffering found, enable buffered graphics mode.");