mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
fixed uninitialised pixmap
This commit is contained in:
parent
45428b5162
commit
5bd0ad2603
@ -106,7 +106,7 @@ msgid "Timer Timeline"
|
|||||||
msgstr "Timer Zeitleiste"
|
msgstr "Timer Zeitleiste"
|
||||||
|
|
||||||
msgid "Check for Timer Conflicts"
|
msgid "Check for Timer Conflicts"
|
||||||
msgstr "Auf Timerkoflikte prüfen"
|
msgstr "Auf Timerkonflikte prüfen"
|
||||||
|
|
||||||
msgid "Search in Recordings"
|
msgid "Search in Recordings"
|
||||||
msgstr "In Aufnahmen suchen"
|
msgstr "In Aufnahmen suchen"
|
||||||
|
@ -2126,14 +2126,14 @@ void cRecMenuItemTimelineHeader::Draw(void) {
|
|||||||
int yText = (height/4 - font->Height())/2;
|
int yText = (height/4 - font->Height())/2;
|
||||||
pixmap->DrawText(cPoint(xText, yText), *header, colorText, clrTransparent, font);
|
pixmap->DrawText(cPoint(xText, yText), *header, colorText, clrTransparent, font);
|
||||||
|
|
||||||
if (timer) {
|
|
||||||
DrawCurrentTimer();
|
DrawCurrentTimer();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
void cRecMenuItemTimelineHeader::DrawCurrentTimer(void) {
|
void cRecMenuItemTimelineHeader::DrawCurrentTimer(void) {
|
||||||
int infoHeight = pixmapTimerInfo->ViewPort().Height();
|
|
||||||
pixmapTimerInfo->Fill(clrTransparent);
|
pixmapTimerInfo->Fill(clrTransparent);
|
||||||
|
if (!timer)
|
||||||
|
return;
|
||||||
|
int infoHeight = pixmapTimerInfo->ViewPort().Height();
|
||||||
const cEvent *event = timer->Event();
|
const cEvent *event = timer->Event();
|
||||||
const cChannel *channel = timer->Channel();
|
const cChannel *channel = timer->Channel();
|
||||||
int x = 0;
|
int x = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user