Added missing calls to cStatus::MsgOsdClear() in cSkins::Message()

This commit is contained in:
Klaus Schmidinger 2004-11-06 11:27:06 +01:00
parent 263c3c01a2
commit 0e79c2d76e
3 changed files with 8 additions and 1 deletions

View File

@ -1137,3 +1137,6 @@ Uwe Hanke <uhanke@gmx.de>
Mogens Elneff <mogens@elneff.dk> Mogens Elneff <mogens@elneff.dk>
for translating OSD texts to the Danish language for translating OSD texts to the Danish language
Joachim Wilke <vdr@joachim-wilke.de>
for reporting missing calls to cStatus::MsgOsdClear() in cSkins::Message()

View File

@ -3124,3 +3124,5 @@ Video Disk Recorder Revision History
- Added Danish language texts (thanks to Mogens Elneff). - Added Danish language texts (thanks to Mogens Elneff).
- Reactivated the NPTL check at startup because there appear to be still - Reactivated the NPTL check at startup because there appear to be still
unsolved problems when running on NPTL systems. unsolved problems when running on NPTL systems.
- Added missing calls to cStatus::MsgOsdClear() in cSkins::Message() (thanks
to Joachim Wilke for reporting this one).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: skins.c 1.1 2004/05/15 12:34:38 kls Exp $ * $Id: skins.c 1.2 2004/11/06 11:25:46 kls Exp $
*/ */
#include "skins.h" #include "skins.h"
@ -186,10 +186,12 @@ eKeys cSkins::Message(eMessageType Type, const char *s, int Seconds)
} }
else else
cSkinDisplay::Current()->SetMessage(Type, NULL); cSkinDisplay::Current()->SetMessage(Type, NULL);
cStatus::MsgOsdClear();
} }
else if (!s && displayMessage) { else if (!s && displayMessage) {
delete displayMessage; delete displayMessage;
displayMessage = NULL; displayMessage = NULL;
cStatus::MsgOsdClear();
} }
return k; return k;
} }