summaryrefslogtreecommitdiff
path: root/menu_conflictcheck.c
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger@gmx.de>2012-04-06 20:27:04 +0200
committerChristian Wieninger <cwieninger@gmx.de>2012-04-06 20:27:04 +0200
commit3bd2658c85f00269583259d5912c88f031b9599f (patch)
tree6f95f40fbaf30b383a16f566d84a0ade7b448cec /menu_conflictcheck.c
parent65f1e5030f076c530a5a6a37ead43cf7d9d86325 (diff)
downloadvdr-plugin-epgsearch-3bd2658c85f00269583259d5912c88f031b9599f.tar.gz
vdr-plugin-epgsearch-3bd2658c85f00269583259d5912c88f031b9599f.tar.bz2
bugtracker #929, bunch of warning fixes, thanks to Joe_D for providing this patch
Diffstat (limited to 'menu_conflictcheck.c')
-rw-r--r--menu_conflictcheck.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/menu_conflictcheck.c b/menu_conflictcheck.c
index e901da8..45fa0c4 100644
--- a/menu_conflictcheck.c
+++ b/menu_conflictcheck.c
@@ -227,9 +227,12 @@ void cMenuConflictCheckDetails::SetHelpKeys()
{
cConflictCheckTimerObj* curTimerObj = CurrentTimerObj();
bool hasTimer = true;
- if (curTimerObj)
+ bool hasEvent = false;
+ if (curTimerObj)
+ {
hasTimer = curTimerObj->timer->HasFlags(tfActive);
- bool hasEvent = curTimerObj->Event();
+ hasEvent = curTimerObj->Event();
+ }
SetHelp(hasEvent?tr("Button$Repeats"):NULL, trVDR("Button$On/Off"), hasTimer?trVDR("Button$Delete"):NULL, tr("Button$Commands"));
}