summaryrefslogtreecommitdiff
path: root/setup.cpp
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2012-04-04 13:05:15 +0200
committerJochen Dolze <vdr@dolze.de>2012-04-04 13:05:15 +0200
commit4d5bfc7c68db5776711b21fbcef70d02f22b5789 (patch)
tree07c2cde08530a8a48dcc79f7342528e7c7c231dc /setup.cpp
parent3033eb15a2e29abe3e30ed89a44179069e0b06a2 (diff)
downloadvdr-plugin-xmltv2vdr-4d5bfc7c68db5776711b21fbcef70d02f22b5789.tar.gz
vdr-plugin-xmltv2vdr-4d5bfc7c68db5776711b21fbcef70d02f22b5789.tar.bz2
Added cppcheck 1.53 suggestions
Diffstat (limited to 'setup.cpp')
-rw-r--r--setup.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup.cpp b/setup.cpp
index ca0fe44..6c2b6db 100644
--- a/setup.cpp
+++ b/setup.cpp
@@ -247,11 +247,11 @@ eOSState cMenuSetupXmltv2vdr::ProcessKey(eKeys Key)
switch (state)
{
case osContinue:
- if ((Key==kLeft) || (Key==kRight) || (Key==kLeft|k_Repeat) || (Key==kRight|k_Repeat))
+ if ((Key==kLeft) || (Key==kRight) || (Key==(kLeft|k_Repeat)) || (Key==(kRight|k_Repeat)))
{
if ((epEntry) && (Current()==epEntry)) Output();
}
- if ((Key==kDown) || (Key==kUp) || (Key==kDown|k_Repeat) || (Key==kUp|k_Repeat))
+ if ((Key==kDown) || (Key==kUp) || (Key==(kDown|k_Repeat)) || (Key==(kUp|k_Repeat)))
{
if ((Current()>=sourcesBegin) && (Current()<=sourcesEnd))
{
@@ -789,7 +789,7 @@ eOSState cMenuSetupXmltv2vdrChannelSource::ProcessKey(eKeys Key)
switch (state)
{
case osContinue:
- if ((Key==kLeft) || (Key==kRight) || (Key==kLeft|k_Repeat) || (Key==kRight|k_Repeat))
+ if ((Key==kLeft) || (Key==kRight) || (Key==(kLeft|k_Repeat)) || (Key==(kRight|k_Repeat)))
{
if (Current()==updateEntry) output();
}