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

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
GetAway
2017-11-02 12:35:41 +01:00
committed by Thilo Graf
parent 91fdb1ef6c
commit 7c9bf1df92
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);