mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
fixed crash when clearing a message in displaychannel and displayreplay
This commit is contained in:
parent
be3b49f695
commit
f89c95be3b
1
HISTORY
1
HISTORY
@ -57,4 +57,5 @@ Version 0.0.3
|
||||
- added tokens {month}, {monthname} and {year} in displaymenutimers listitem and currentitem
|
||||
- added dedicated tokens for posters and banners in <srapercontent> in displaychannel and displayreplay
|
||||
- added Plugin Interface
|
||||
- fixed crash when clearing a message in displaychannel and displayreplay
|
||||
|
||||
|
@ -515,6 +515,7 @@ string cDisplayChannelView::GetChannelSep(const cChannel *channel, bool prev) {
|
||||
void cDisplayChannelView::DisplayMessage(eMessageType Type, const char *Text) {
|
||||
if (!Text) {
|
||||
ClearViewElement(veMessage);
|
||||
return;
|
||||
}
|
||||
|
||||
map < string, string > stringTokens;
|
||||
|
@ -352,6 +352,7 @@ void cDisplayReplayView::DrawJump(const char *jump) {
|
||||
void cDisplayReplayView::DrawMessage(eMessageType type, const char *text) {
|
||||
if (!text) {
|
||||
ClearViewElement(veMessage);
|
||||
return;
|
||||
}
|
||||
|
||||
map < string, string > stringTokens;
|
||||
|
Loading…
Reference in New Issue
Block a user