diff options
author | Johann Friedrichs <johann.friedrichs@web.de> | 2019-12-02 14:08:19 +0100 |
---|---|---|
committer | Johann Friedrichs <johann.friedrichs@web.de> | 2019-12-02 14:08:19 +0100 |
commit | 602d66c55964998ce25c6c57b302949a9517f149 (patch) | |
tree | cff854a7858f3e9bea1543cef7555bc9e52c9f61 /menu_conflictcheck.c | |
parent | ce0862ef229eb52757e3731e2ee367c30a3a6883 (diff) | |
download | vdr-plugin-epgsearch-602d66c55964998ce25c6c57b302949a9517f149.tar.gz vdr-plugin-epgsearch-602d66c55964998ce25c6c57b302949a9517f149.tar.bz2 |
Show device again in conflictcheck (revises 770de32f)
Diffstat (limited to 'menu_conflictcheck.c')
-rw-r--r-- | menu_conflictcheck.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/menu_conflictcheck.c b/menu_conflictcheck.c index 01340f8..49f6926 100644 --- a/menu_conflictcheck.c +++ b/menu_conflictcheck.c @@ -159,15 +159,16 @@ cMenuConflictCheckDetailsItem::cMenuConflictCheckDetailsItem(cConflictCheckTimer bool cMenuConflictCheckDetailsItem::Update(bool Force) { +#define MAXJFS 4096 bool oldhasTimer = hasTimer; LOCK_TIMERS_READ; hasTimer = timerObj->OrigTimer(Timers) ? timerObj->OrigTimer(Timers)->HasFlags(tfActive) : false; if (Force || hasTimer != oldhasTimer) { const cTimer* timer = timerObj->timer; - char device[3] = ""; // compiler warns if MAXDEVICES too big + char device[11] = ""; if (hasTimer) { if (!timerObj->conflCheckTime && timerObj->device > -1) - sprintf(device, "%d", (timerObj->device + 1)&MAXDEVICES); + sprintf(device, "%d", (timerObj->device + 1)); else { if (timer->Local()) strcpy(device, tr("C")); |