From: E.Smith <31170571+azlm8t@users.noreply.github.com> Date: Mon, 1 Oct 2018 15:52:51 +0000 (+0100) Subject: epg: Change && to ||. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f8b814440d99a2737118a11ed3b78d9ff5fc1b6;p=thirdparty%2Ftvheadend.git epg: Change && to ||. --- diff --git a/src/epg.c b/src/epg.c index e038dbd44..b83ff72ed 100644 --- a/src/epg.c +++ b/src/epg.c @@ -1468,13 +1468,13 @@ epg_broadcast_t *epg_broadcast_get_next ( epg_broadcast_t *b ) const char *epg_broadcast_get_title ( epg_broadcast_t *b, const char *lang ) { - if (!b && !b->title) return NULL; + if (!b || !b->title) return NULL; return lang_str_get(b->title, lang); } const char *epg_broadcast_get_subtitle ( epg_broadcast_t *b, const char *lang ) { - if (!b && !b->subtitle) return NULL; + if (!b || !b->subtitle) return NULL; return lang_str_get(b->subtitle, lang); }