summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-05-29 13:31:29 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2004-05-29 13:31:29 +0200
commit1bc35792d1da62b171e6358e62594eb5603c851c (patch)
tree0905f4a7f684a7efa84dce29c4fa10ae98c8401a
parent6b60a35f8da342b5853f6e0cb09458d955005814 (diff)
downloadvdr-1bc35792d1da62b171e6358e62594eb5603c851c.tar.gz
vdr-1bc35792d1da62b171e6358e62594eb5603c851c.tar.bz2
Fixed the height of the channel display in the "Classic VDR" skin
-rw-r--r--HISTORY1
-rw-r--r--skinclassic.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 44bef6b1..32571849 100644
--- a/HISTORY
+++ b/HISTORY
@@ -2859,3 +2859,4 @@ Video Disk Recorder Revision History
that implement skins will need to implement these functions. This fixes a missing
"Editing process finished" message (thanks to Oliver Endriss for reporting this
one).
+- Fixed the height of the channel display in the "Classic VDR" skin.
diff --git a/skinclassic.c b/skinclassic.c
index 25d0ef50..cc32f9f0 100644
--- a/skinclassic.c
+++ b/skinclassic.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: skinclassic.c 1.5 2004/05/29 13:13:50 kls Exp $
+ * $Id: skinclassic.c 1.6 2004/05/29 13:29:00 kls Exp $
*/
#include "skinclassic.h"
@@ -94,7 +94,7 @@ cSkinClassicDisplayChannel::cSkinClassicDisplayChannel(bool WithInfo)
message = false;
osd = cOsdProvider::NewOsd(Setup.OSDLeft, Setup.OSDTop + (Setup.ChannelInfoPos ? 0 : Setup.OSDHeight - Lines * lineHeight));
timeWidth = font->Width("00:00") + 4;
- tArea Areas[] = { { 0, 0, Setup.OSDWidth - 1, Lines * lineHeight, 4 } };
+ tArea Areas[] = { { 0, 0, Setup.OSDWidth - 1, Lines * lineHeight - 1, 4 } };
osd->SetAreas(Areas, sizeof(Areas) / sizeof(tArea));
osd->DrawRectangle(0, 0, osd->Width() - 1, osd->Height() - 1, Theme.Color(clrBackground));
}