summaryrefslogtreecommitdiff
path: root/softhddevice.cpp
diff options
context:
space:
mode:
authormini73 <>2014-01-24 11:31:57 +0100
committerJohns <johns98@gmx.net>2014-01-24 11:31:57 +0100
commita45b9a3abe63ac2e3d196c0283692d1f92afe232 (patch)
treeb567cc5a907314ae945bfaf9f0e0c2d934e08c14 /softhddevice.cpp
parent590bae406a06f128f806ef9f6269bfbdb8f81d4c (diff)
downloadvdr-plugin-softhddevice-a45b9a3abe63ac2e3d196c0283692d1f92afe232.tar.gz
vdr-plugin-softhddevice-a45b9a3abe63ac2e3d196c0283692d1f92afe232.tar.bz2
Fix bug: learing x11 remote keys fails.
Diffstat (limited to 'softhddevice.cpp')
-rw-r--r--softhddevice.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/softhddevice.cpp b/softhddevice.cpp
index d5b8f0d..126cd2d 100644
--- a/softhddevice.cpp
+++ b/softhddevice.cpp
@@ -240,7 +240,8 @@ extern "C" void FeedKeyPress(const char *keymap, const char *key, int repeat,
//dsyslog("[softhddev]%s %s, %s, %s\n", __FUNCTION__, keymap, key, letter);
if (key[1]) { // no single character
- if (!csoft->Put(key, repeat, release) && letter) {
+ if (!csoft->Put(key, repeat, release) && letter
+ && !cRemote::IsLearning()) {
cCharSetConv conv;
unsigned code;