fix uninitialised values

This commit is contained in:
Jacek Jendrzej
2017-01-29 20:54:35 +01:00
parent bcf478ba67
commit f76dda36df
4 changed files with 5 additions and 1 deletions

View File

@@ -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_text = COL_MENUHEAD_TEXT;
ccw_col_footer = COL_MENUFOOT_PLUS_0;
cc_parent = NULL;
page_scroll_mode = PG_SCROLL_M_OFF; //permanent disabled here, only in body used!
initCCWItems();

View File

@@ -50,6 +50,7 @@ CComponentsItem::CComponentsItem(CComponentsForm* parent)
cc_item_selected = false;
cc_page_number = 0;
cc_has_focus = true;
cc_parent = NULL;
initParent(parent);
}

View File

@@ -497,6 +497,7 @@ void MI_MOVIE_INFO::clear(void)
timePlay.tm_year = 100;
timePlay.tm_mday = 0;
timePlay.tm_mon = 1;
timePlay.tm_isdst = -1;
file.Name = "";
file.Url = "";

View File

@@ -550,6 +550,7 @@ CMenuWidget::CMenuWidget()
info_box = NULL;
header = NULL;
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)
@@ -624,6 +625,7 @@ void CMenuWidget::Init(const std::string &Icon, const int mwidth, const mn_widge
nextShortcut = 1;
saveScreen_width = 0;
saveScreen_height = 0;
x = y = 0;
}
void CMenuWidget::move(int xoff, int yoff)