summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2019-05-06 13:14:23 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2019-05-06 13:14:23 +0200
commitff2af3dffd2d2f85e147cc7417bfbac1dbbea9c1 (patch)
treed96421054a3678a837098d53c27fbe2654c83895
parent294452cd43f2d02058e51ab623b622cf9ae5feb0 (diff)
downloadvdr-ff2af3dffd2d2f85e147cc7417bfbac1dbbea9c1.tar.gz
vdr-ff2af3dffd2d2f85e147cc7417bfbac1dbbea9c1.tar.bz2
Fixed a possible invalid lock sequence if the main menu is open and the user switches to a channel that is currently not available, using the Channel+/- keys
-rw-r--r--HISTORY2
-rw-r--r--device.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 91e84e4b..303e7805 100644
--- a/HISTORY
+++ b/HISTORY
@@ -9399,3 +9399,5 @@ Video Disk Recorder Revision History
Helmut Binder).
- Fixed a compiler warning in ExchangeChars() (thanks to Helmut Binder).
- Fixed a compiler warning and a possible buffer overflow in cCiMMI::SendAnswer().
+- Fixed a possible invalid lock sequence if the main menu is open and the user
+ switches to a channel that is currently not available, using the Channel+/- keys.
diff --git a/device.c b/device.c
index b112ae04..873734e4 100644
--- a/device.c
+++ b/device.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c 4.28 2018/07/16 09:29:57 kls Exp $
+ * $Id: device.c 4.29 2019/05/06 13:10:36 kls Exp $
*/
#include "device.h"
@@ -831,7 +831,7 @@ bool cDevice::SwitchChannel(int Direction)
result = true;
}
else if (n != first)
- Skins.Message(mtError, tr("Channel not available!"));
+ Skins.QueueMessage(mtError, tr("Channel not available!"));
}
return result;
}