Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
DVR: Fix bug in dvr_autorec_changed. Inverting schedules states when …
…there are disabled schedules.
  • Loading branch information
traxxxto authored and perexg committed Oct 26, 2015
1 parent a83f07d commit 4cf7c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dvr/dvr_autorec.c
Expand Up @@ -1271,7 +1271,7 @@ dvr_autorec_changed(dvr_autorec_entry_t *dae, int purge)
enabled = 1;
if (disabled) {
for (p = disabled; *p && *p != e; p++);
enabled = *p != NULL;
enabled = *p == NULL;
}
dvr_entry_create_by_autorec(enabled, e, dae);
}
Expand Down

0 comments on commit 4cf7c5a

Please sign in to comment.