mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
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
This commit is contained in:
parent
294452cd43
commit
ff2af3dffd
2
HISTORY
2
HISTORY
@ -9399,3 +9399,5 @@ Video Disk Recorder Revision History
|
|||||||
Helmut Binder).
|
Helmut Binder).
|
||||||
- Fixed a compiler warning in ExchangeChars() (thanks to 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 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.
|
||||||
|
4
device.c
4
device.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* 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"
|
#include "device.h"
|
||||||
@ -831,7 +831,7 @@ bool cDevice::SwitchChannel(int Direction)
|
|||||||
result = true;
|
result = true;
|
||||||
}
|
}
|
||||||
else if (n != first)
|
else if (n != first)
|
||||||
Skins.Message(mtError, tr("Channel not available!"));
|
Skins.QueueMessage(mtError, tr("Channel not available!"));
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user