summaryrefslogtreecommitdiff
path: root/skinclassic.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2008-02-17 13:47:12 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2008-02-17 13:47:12 +0100
commitdc7c5464fc07b31b904ea8118f104a7cb289dd24 (patch)
tree9132d34f62d493b6d66059003eb36eb341a36ef1 /skinclassic.c
parent54b4d4e4e752ce10142c1f0c61f39c3782e460d9 (diff)
downloadvdr-dc7c5464fc07b31b904ea8118f104a7cb289dd24.tar.gz
vdr-dc7c5464fc07b31b904ea8118f104a7cb289dd24.tar.bz2
Introduced 'operator const void * ()' in cString
Diffstat (limited to 'skinclassic.c')
-rw-r--r--skinclassic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/skinclassic.c b/skinclassic.c
index 535e63d2..fc09bec7 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.22 2008/02/17 12:24:15 kls Exp $
+ * $Id: skinclassic.c 1.23 2008/02/17 13:34:29 kls Exp $
*/
#include "skinclassic.h"
@@ -149,7 +149,7 @@ void cSkinClassicDisplayChannel::Flush(void)
{
if (!message) {
cString date = DayDateTime();
- if (!lastDate || strcmp(date, lastDate)) {
+ if (!*lastDate || strcmp(date, lastDate)) {
const cFont *font = cFont::GetFont(fontSml);
int w = font->Width(date);
osd->DrawText(osd->Width() - w - 2, 0, date, Theme.Color(clrChannelDate), Theme.Color(clrBackground), cFont::GetFont(fontSml), w);
@@ -407,7 +407,7 @@ const cFont *cSkinClassicDisplayMenu::GetTextAreaFont(bool FixedFont) const
void cSkinClassicDisplayMenu::Flush(void)
{
cString date = DayDateTime();
- if (!lastDate || strcmp(date, lastDate)) {
+ if (!*lastDate || strcmp(date, lastDate)) {
const cFont *font = cFont::GetFont(fontOsd);
int w = font->Width(date);
osd->DrawText(x3 - w - 2, y0, date, Theme.Color(clrMenuDate), Theme.Color(clrMenuTitleBg), font, w);