freebsd-ports/www/vdr-plugin-live/files/patch-pages-multischedule.ecpp
Juergen Lock f356c31cb6 - Fix bug uncovered by clang34.
- Bump PORTREVISION.

Submitted by:	beefy1 via pkg-fallout
2014-03-29 14:15:28 +00:00

11 lines
490 B
Text

--- a/pages/multischedule.ecpp.orig
+++ b/pages/multischedule.ecpp
@@ -295,7 +295,7 @@ pageTitle = tr("MultiSchedule");
cChannel* Channel = Channels.GetByNumber( chan );
if ( ! Channel )
continue;
- if ( Channel->GroupSep() || Channel->Name() == '\0' )
+ if ( Channel->GroupSep() || *Channel->Name() == '\0' )
continue;
channel_names[ j ] = Channel->Name();
channel_IDs[ j ] = Channel->GetChannelID();