]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Update dvr_db.c
authorthromer <tromer@gmail.com>
Mon, 12 Mar 2018 04:53:43 +0000 (21:53 -0700)
committerJaroslav Kysela <perex@perex.cz>
Tue, 20 Mar 2018 09:06:45 +0000 (10:06 +0100)
Fix typo -- &&& should have been &&

src/dvr/dvr_db.c

index 30be723ccdcfe6d9f0aadae19fad5ac4b91bd726..dd0d2c54407bc9db39a7b042e598fca1233b1afe 100644 (file)
@@ -2096,7 +2096,7 @@ static dvr_entry_t *_dvr_entry_update
   }
 
   /* Subtitle */
-  if (e &&& e->subtitle) {
+  if (e && e->subtitle) {
     save |= lang_str_set2(&de->de_subtitle, e->subtitle) ? DVR_UPDATED_SUBTITLE : 0;
   } else if (subtitle) {
     save |= lang_str_set(&de->de_subtitle, subtitle, lang) ? DVR_UPDATED_SUBTITLE : 0;