mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 18:31:22 +02:00
fix possible segafult, invalid type
This commit is contained in:
@@ -44,6 +44,7 @@ CTimeOSD::CTimeOSD():CComponentsFrmClock( 1, 1, NULL, "%H:%M:%S", NULL, false, 1
|
|||||||
void CTimeOSD::Init()
|
void CTimeOSD::Init()
|
||||||
{
|
{
|
||||||
paint_bg = g_settings.infoClockBackground;
|
paint_bg = g_settings.infoClockBackground;
|
||||||
|
m_time_show = time(0);
|
||||||
|
|
||||||
//use current theme colors
|
//use current theme colors
|
||||||
setColorAll(COL_MENUCONTENT_PLUS_6, COL_MENUCONTENT_PLUS_0, COL_MENUCONTENTDARK_PLUS_0);
|
setColorAll(COL_MENUCONTENT_PLUS_6, COL_MENUCONTENT_PLUS_0, COL_MENUCONTENTDARK_PLUS_0);
|
||||||
|
Reference in New Issue
Block a user