repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a560d24
)
Fix typo in rejecting invalid keycodes
author
popcornmix
<popcornmix@gmail.com>
Fri, 24 Oct 2014 12:22:57 +0000
(13:22 +0100)
committer
popcornmix
<popcornmix@gmail.com>
Fri, 24 Oct 2014 12:30:06 +0000
(13:30 +0100)
src/lib/CECClient.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/CECClient.cpp
b/src/lib/CECClient.cpp
index 85df46d376859c9c24575abb175b110202af7a90..837214f456f54e724c29032664087064875874f9 100644
(file)
--- a/
src/lib/CECClient.cpp
+++ b/
src/lib/CECClient.cpp
@@
-995,7
+995,7
@@
void CCECClient::AddKey(bool bSendComboKey /* = false */)
void CCECClient::AddKey(const cec_keypress &key)
{
- if (key.keycode > CEC_USER_CONTROL_CODE_MAX
&&
+ if (key.keycode > CEC_USER_CONTROL_CODE_MAX
||
key.keycode < CEC_USER_CONTROL_CODE_SELECT)
{
// send back the previous key if there is one