summaryrefslogtreecommitdiff
path: root/osdmanager.c
diff options
context:
space:
mode:
Diffstat (limited to 'osdmanager.c')
-rw-r--r--osdmanager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdmanager.c b/osdmanager.c
index 93a0bc8..75a58d0 100644
--- a/osdmanager.c
+++ b/osdmanager.c
@@ -17,7 +17,7 @@ bool cOsdManager::setOsd() {
void cOsdManager::setBackground() {
- if (tvguideConfig.displayStatusHeader && tvguideConfig.scaleVideo) {
+ if (config.displayStatusHeader && config.scaleVideo) {
int widthStatus = cOsd::OsdWidth() - geoManager.statusHeaderHeight * 16 / 9;
osd->DrawRectangle(0, 0, widthStatus, geoManager.statusHeaderHeight, theme.Color(clrBackgroundOSD));
osd->DrawRectangle(0, geoManager.statusHeaderHeight, Width(), Height(), theme.Color(clrBackgroundOSD));