summaryrefslogtreecommitdiff
path: root/statusheader.c
diff options
context:
space:
mode:
Diffstat (limited to 'statusheader.c')
-rw-r--r--statusheader.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/statusheader.c b/statusheader.c
index 9b9e9a0..f5db056 100644
--- a/statusheader.c
+++ b/statusheader.c
@@ -58,10 +58,7 @@ void cStatusHeader::ScaleVideo(void) {
void cStatusHeader::DrawInfoText(cGrid *grid) {
int border = 10;
int textWidth = 0;
- if (tvguideConfig.displayMode == eVertical)
- textWidth = width - 2 * border - geoManager.clockWidth - 2;
- else
- textWidth = width - 2 * border;
+ textWidth = width - 2 * border;
tColor colorTextBack = (tvguideConfig.style == eStyleFlat)?color:clrTransparent;
pixmapText->Fill(clrTransparent);
int x = border;
@@ -143,4 +140,4 @@ void cStatusHeader::DecorateVideoFrame(void) {
pixmapTVFrame->DrawEllipse(cRect(frame, height - radius - frame, radius, radius), theme.Color(clrBackgroundOSD), -3);
pixmapTVFrame->DrawRectangle(cRect(0, height - frame, tvFrameWidth, frame), theme.Color(clrBackgroundOSD));
pixmapTVFrame->DrawEllipse(cRect(tvFrameWidth - radius - frame, height - radius - frame, radius, radius), theme.Color(clrBackgroundOSD), -4);
-} \ No newline at end of file
+}