fix possible segafult, invalid type

Origin commit data
------------------
Branch: ni/coolstream
Commit: 946d64fc37
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-12-29 (Tue, 29 Dec 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2015-12-29 17:58:31 +01:00
parent b63d9ba511
commit 137a2288ac

View File

@@ -44,6 +44,7 @@ CTimeOSD::CTimeOSD():CComponentsFrmClock( 1, 1, NULL, "%H:%M:%S", NULL, false, 1
void CTimeOSD::Init()
{
paint_bg = g_settings.infoClockBackground;
m_time_show = time(0);
//use current theme colors
setColorAll(COL_MENUCONTENT_PLUS_6, COL_MENUCONTENT_PLUS_0, COL_MENUCONTENTDARK_PLUS_0);