diff options
author | Jochen Dolze <vdr@dolze.de> | 2012-04-04 13:05:15 +0200 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2012-04-04 13:05:15 +0200 |
commit | 4d5bfc7c68db5776711b21fbcef70d02f22b5789 (patch) | |
tree | 07c2cde08530a8a48dcc79f7342528e7c7c231dc /setup.cpp | |
parent | 3033eb15a2e29abe3e30ed89a44179069e0b06a2 (diff) | |
download | vdr-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.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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(); } |