menue.cpp: dont use one-time init of a variable that could be changed on runtime

Origin commit data
------------------
Commit: c1ce74f776
Author: GetAway <get-away@t-online.de>
Date: 2017-11-02 (Thu, 02 Nov 2017)
This commit is contained in:
GetAway
2017-11-02 12:35:41 +01:00
committed by vanhofen
parent e629487bbb
commit 548eaef43f
2 changed files with 9 additions and 10 deletions

View File

@@ -112,7 +112,7 @@ class CMenuItem : public CComponentsSignals
void setIconName();
CMenuWidget* parent_widget;
protected:
int x, y, dx, offx, name_start_x, icon_frame_w;
int x, y, dx, offx, name_start_x;
bool used;
fb_pixel_t item_color, item_bgcolor;
bool initModeCondition(const int& stb_mode);