summaryrefslogtreecommitdiff
path: root/statusheader.c
diff options
context:
space:
mode:
Diffstat (limited to 'statusheader.c')
-rw-r--r--statusheader.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/statusheader.c b/statusheader.c
index eee2473..9b9e9a0 100644
--- a/statusheader.c
+++ b/statusheader.c
@@ -57,7 +57,11 @@ void cStatusHeader::ScaleVideo(void) {
void cStatusHeader::DrawInfoText(cGrid *grid) {
int border = 10;
- int textWidth = width - 2 * border - geoManager.clockWidth - 2;
+ int textWidth = 0;
+ if (tvguideConfig.displayMode == eVertical)
+ textWidth = width - 2 * border - geoManager.clockWidth - 2;
+ else
+ textWidth = width - 2 * border;
tColor colorTextBack = (tvguideConfig.style == eStyleFlat)?color:clrTransparent;
pixmapText->Fill(clrTransparent);
int x = border;