mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed a crash in the LCARS skin's main menu in case there is no current channel
This commit is contained in:
parent
818763b332
commit
fc697bfdb1
@ -3152,3 +3152,6 @@ Stefan Braun <louis.braun@gmx.de>
|
|||||||
Jochen Dolze <vdr@dolze.de>
|
Jochen Dolze <vdr@dolze.de>
|
||||||
for changing cThread::SetIOPriority() from "best effort class" to "idle class" in order
|
for changing cThread::SetIOPriority() from "best effort class" to "idle class" in order
|
||||||
to improve overall performance when an editing process is running
|
to improve overall performance when an editing process is running
|
||||||
|
|
||||||
|
Dominique Dumont <domi.dumont@free.fr>
|
||||||
|
for reporting a crash in the LCARS skin's main menu in case there is no current channel
|
||||||
|
4
HISTORY
4
HISTORY
@ -7811,7 +7811,7 @@ Video Disk Recorder Revision History
|
|||||||
- Fixed an endless loop in the DrawEllipse() functions for very small ellipses (reported
|
- Fixed an endless loop in the DrawEllipse() functions for very small ellipses (reported
|
||||||
by Stefan Braun).
|
by Stefan Braun).
|
||||||
|
|
||||||
2013-05-18: Version 2.1.1
|
2013-05-19: Version 2.1.1
|
||||||
|
|
||||||
- Fixed initializing cDevice::keepTracks.
|
- Fixed initializing cDevice::keepTracks.
|
||||||
- Fixed an endless loop in cTextWrapper::Set() in case the given Width is smaller than
|
- Fixed an endless loop in cTextWrapper::Set() in case the given Width is smaller than
|
||||||
@ -7840,3 +7840,5 @@ Video Disk Recorder Revision History
|
|||||||
- Fixed an unexpected RCS version tag in the newplugin script.
|
- Fixed an unexpected RCS version tag in the newplugin script.
|
||||||
- Fixed an endless loop in the DrawEllipse() functions for very small ellipses (reported
|
- Fixed an endless loop in the DrawEllipse() functions for very small ellipses (reported
|
||||||
by Stefan Braun).
|
by Stefan Braun).
|
||||||
|
- Fixed a crash in the LCARS skin's main menu in case there is no current channel
|
||||||
|
(reported by Dominique Dumont).
|
||||||
|
@ -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: skinlcars.c 3.1 2013/04/09 11:10:25 kls Exp $
|
* $Id: skinlcars.c 3.2 2013/05/19 12:04:09 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// "Star Trek: The Next Generation"(R) is a registered trademark of Paramount Pictures,
|
// "Star Trek: The Next Generation"(R) is a registered trademark of Paramount Pictures,
|
||||||
@ -1340,6 +1340,8 @@ void cSkinLCARSDisplayMenu::DrawLive(const cChannel *Channel)
|
|||||||
DrawMainFrameUpper(Theme.Color(clrChannelFrameBg));
|
DrawMainFrameUpper(Theme.Color(clrChannelFrameBg));
|
||||||
osd->DrawText(xd00, yd00, tr("LIVE"), Theme.Color(clrChannelFrameBg), Theme.Color(clrBackground), tallFont, xd07 - xd00, yd01 - yd00, taTop | taRight | taBorder);
|
osd->DrawText(xd00, yd00, tr("LIVE"), Theme.Color(clrChannelFrameBg), Theme.Color(clrBackground), tallFont, xd07 - xd00, yd01 - yd00, taTop | taRight | taBorder);
|
||||||
}
|
}
|
||||||
|
if (!Channel)
|
||||||
|
return;
|
||||||
if (initial || Channel != lastChannel) {
|
if (initial || Channel != lastChannel) {
|
||||||
osd->DrawText(xa00, yt00, itoa(Channel->Number()), Theme.Color(clrChannelFrameFg), Theme.Color(clrChannelFrameBg), tallFont, xa02 - xa00, yt02 - yt00, taTop | taRight | taBorder);
|
osd->DrawText(xa00, yt00, itoa(Channel->Number()), Theme.Color(clrChannelFrameFg), Theme.Color(clrChannelFrameBg), tallFont, xa02 - xa00, yt02 - yt00, taTop | taRight | taBorder);
|
||||||
osd->DrawText(xa03, yt00, Channel->Name(), Theme.Color(clrChannelName), Theme.Color(clrBackground), tallFont, xd00 - xa03, yd01 - yd00, taTop | taLeft);
|
osd->DrawText(xa03, yt00, Channel->Name(), Theme.Color(clrChannelName), Theme.Color(clrBackground), tallFont, xd00 - xa03, yd01 - yd00, taTop | taLeft);
|
||||||
|
Loading…
Reference in New Issue
Block a user