mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
fix uninitialised values
This commit is contained in:
@@ -157,7 +157,7 @@ void CComponentsWindow::initVarWindow( const int& x_pos, const int& y_pos, const
|
|||||||
ccw_col_head = COL_MENUHEAD_PLUS_0;
|
ccw_col_head = COL_MENUHEAD_PLUS_0;
|
||||||
ccw_col_head_text = COL_MENUHEAD_TEXT;
|
ccw_col_head_text = COL_MENUHEAD_TEXT;
|
||||||
ccw_col_footer = COL_MENUFOOT_PLUS_0;
|
ccw_col_footer = COL_MENUFOOT_PLUS_0;
|
||||||
|
cc_parent = NULL;
|
||||||
page_scroll_mode = PG_SCROLL_M_OFF; //permanent disabled here, only in body used!
|
page_scroll_mode = PG_SCROLL_M_OFF; //permanent disabled here, only in body used!
|
||||||
|
|
||||||
initCCWItems();
|
initCCWItems();
|
||||||
|
@@ -50,6 +50,7 @@ CComponentsItem::CComponentsItem(CComponentsForm* parent)
|
|||||||
cc_item_selected = false;
|
cc_item_selected = false;
|
||||||
cc_page_number = 0;
|
cc_page_number = 0;
|
||||||
cc_has_focus = true;
|
cc_has_focus = true;
|
||||||
|
cc_parent = NULL;
|
||||||
initParent(parent);
|
initParent(parent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -497,6 +497,7 @@ void MI_MOVIE_INFO::clear(void)
|
|||||||
timePlay.tm_year = 100;
|
timePlay.tm_year = 100;
|
||||||
timePlay.tm_mday = 0;
|
timePlay.tm_mday = 0;
|
||||||
timePlay.tm_mon = 1;
|
timePlay.tm_mon = 1;
|
||||||
|
timePlay.tm_isdst = -1;
|
||||||
|
|
||||||
file.Name = "";
|
file.Name = "";
|
||||||
file.Url = "";
|
file.Url = "";
|
||||||
|
@@ -550,6 +550,7 @@ CMenuWidget::CMenuWidget()
|
|||||||
info_box = NULL;
|
info_box = NULL;
|
||||||
header = NULL;
|
header = NULL;
|
||||||
nextShortcut = 1;
|
nextShortcut = 1;
|
||||||
|
x = y = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
CMenuWidget::CMenuWidget(const neutrino_locale_t Name, const std::string & Icon, const int mwidth, const mn_widget_id_t &w_index)
|
CMenuWidget::CMenuWidget(const neutrino_locale_t Name, const std::string & Icon, const int mwidth, const mn_widget_id_t &w_index)
|
||||||
@@ -624,6 +625,7 @@ void CMenuWidget::Init(const std::string &Icon, const int mwidth, const mn_widge
|
|||||||
nextShortcut = 1;
|
nextShortcut = 1;
|
||||||
saveScreen_width = 0;
|
saveScreen_width = 0;
|
||||||
saveScreen_height = 0;
|
saveScreen_height = 0;
|
||||||
|
x = y = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CMenuWidget::move(int xoff, int yoff)
|
void CMenuWidget::move(int xoff, int yoff)
|
||||||
|
Reference in New Issue
Block a user