aboutsummaryrefslogtreecommitdiff
path: root/main/enigma-gui.cpp
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2010-10-28 20:29:01 +0200
committerAndreas Oberritter <obi@opendreambox.org>2010-11-16 17:15:37 +0100
commit879d60c88e24c2c3f2aab9dff73192c901f63f31 (patch)
tree73bebea0db9c4d22d2de42cc1cd7303b01dc8943 /main/enigma-gui.cpp
parent6b59a3472e24f35fcaac669a167b1a4fae207556 (diff)
downloadenigma2-879d60c88e24c2c3f2aab9dff73192c901f63f31.tar.gz
enigma2-879d60c88e24c2c3f2aab9dff73192c901f63f31.zip
use eEnv::resolve() / eEnv.resolve()
Diffstat (limited to 'main/enigma-gui.cpp')
-rw-r--r--main/enigma-gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/enigma-gui.cpp b/main/enigma-gui.cpp
index e53fccab..2ba61067 100644
--- a/main/enigma-gui.cpp
+++ b/main/enigma-gui.cpp
@@ -67,7 +67,7 @@ int main()
pal[a | 0x10] = (0x111111 * a) | 0xFF;
p.setPalette(pal, 0, 256);
- fontRenderClass::getInstance()->AddFont(FONTDIR "/arial.ttf", "Regular", 100);
+ fontRenderClass::getInstance()->AddFont(eEnv::resolve("${datadir}/fonts/arial.ttf"), "Regular", 100);
eWidgetDesktop dsk(eSize(720, 576));
dsk.setDC(my_dc);