mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
vdr-plugin-live: fix gcc7 build
This commit is contained in:
parent
21ec9080de
commit
74fe989ea9
@ -0,0 +1,14 @@
|
||||
part of patch from Jasmin Jessich <jasmin@anw.at>
|
||||
https://github.com/jasmin-j/vdr-plugin-live/commit/b86560030911208be738163ecd0e48790c9317a1
|
||||
|
||||
--- a/pages/multischedule.ecpp 2017-05-11 18:13:21.359696377 +0200
|
||||
+++ b/pages/multischedule.ecpp 2017-05-11 18:15:13.777869558 +0200
|
||||
@@ -295,7 +295,7 @@
|
||||
cChannel* Channel = Channels.GetByNumber( chan );
|
||||
if ( ! Channel )
|
||||
continue;
|
||||
- if ( Channel->GroupSep() || Channel->Name() == '\0' )
|
||||
+ if ( Channel->GroupSep() || !Channel->Name() || !*Channel->Name() )
|
||||
continue;
|
||||
channel_names[ j ] = Channel->Name();
|
||||
channel_IDs[ j ] = Channel->GetChannelID();
|
Loading…
x
Reference in New Issue
Block a user