mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
fixed crash when clearing a message in displaychannel and displayreplay
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user