mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Now checking whether there is any text before calling cStatus::MsgOsdTextItem()
This commit is contained in:
parent
8c75fd1ead
commit
753c1e1a7f
@ -1434,6 +1434,7 @@ Joachim Wilke <vdr@joachim-wilke.de>
|
||||
runs all the way until the end of the recording
|
||||
for fixing removing the '-' when entering a channel number where there is no other
|
||||
one that fits the input
|
||||
for reporting a problem with cStatus::MsgOsdTextItem() being called without a text
|
||||
|
||||
Sascha Klek <sklek@gmx.de>
|
||||
for reporting a problem with the '0' key in the "Day" item of the "Timers" menu
|
||||
|
2
HISTORY
2
HISTORY
@ -4497,3 +4497,5 @@ Video Disk Recorder Revision History
|
||||
Nissl).
|
||||
- No longer calling cPlugin::ProcessArgs() if VDR is run with the --help or
|
||||
--version option, to avoid error messages from plugins (reported by Udo Richter).
|
||||
- Now checking whether there is any text before calling cStatus::MsgOsdTextItem()
|
||||
(reported by Joachim Wilke).
|
||||
|
5
menu.c
5
menu.c
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: menu.c 1.427 2006/04/09 13:13:33 kls Exp $
|
||||
* $Id: menu.c 1.428 2006/04/09 14:29:24 kls Exp $
|
||||
*/
|
||||
|
||||
#include "menu.h"
|
||||
@ -589,6 +589,7 @@ void cMenuText::Display(void)
|
||||
{
|
||||
cOsdMenu::Display();
|
||||
DisplayMenu()->SetText(text, font == fontFix); //XXX define control character in text to choose the font???
|
||||
if (text)
|
||||
cStatus::MsgOsdTextItem(text);
|
||||
}
|
||||
|
||||
@ -938,6 +939,7 @@ void cMenuEvent::Display(void)
|
||||
{
|
||||
cOsdMenu::Display();
|
||||
DisplayMenu()->SetEvent(event);
|
||||
if (event->Description())
|
||||
cStatus::MsgOsdTextItem(event->Description());
|
||||
}
|
||||
|
||||
@ -1738,6 +1740,7 @@ void cMenuRecording::Display(void)
|
||||
{
|
||||
cOsdMenu::Display();
|
||||
DisplayMenu()->SetRecording(recording);
|
||||
if (recording->Info()->Description())
|
||||
cStatus::MsgOsdTextItem(recording->Info()->Description());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user