neutrino: more variable init fixes

This commit is contained in:
Stefan Seyfried
2012-03-25 17:54:59 +02:00
parent 201bb3524d
commit 63178c1e2a
3 changed files with 3 additions and 0 deletions

View File

@@ -201,6 +201,7 @@ CFrameBuffer::CFrameBuffer()
fd = 0;
tty = 0;
bpp = 0;
locked = false;
m_transparent_default = CFrameBuffer::TM_BLACK; // TM_BLACK: Transparency when black content ('pseudo' transparency)
// TM_NONE: No 'pseudo' transparency
// TM_INI: Transparency depends on g_settings.infobar_alpha ???

View File

@@ -112,6 +112,7 @@ CFrameBuffer::CFrameBuffer()
fd = 0;
tty = 0;
bpp = 0;
locked = false;
//FIXME: test
memset(red, 0, 256*sizeof(__u16));
memset(green, 0, 256*sizeof(__u16));

View File

@@ -1588,6 +1588,7 @@ void CNeutrinoApp::SendSectionsdConfig(void)
void CNeutrinoApp::InitZapper()
{
struct stat my_stat;
g_channel_list_changed = false;
g_InfoViewer->start();
SendSectionsdConfig();