menue: initialize height variable

This commit is contained in:
Stefan Seyfried
2018-01-07 15:33:34 +01:00
committed by Thilo Graf
parent b982458d2d
commit 70428a896c

View File

@@ -561,6 +561,7 @@ void CMenuWidget::Init(const std::string &NameString, const std::string &Icon, c
{
//pos
x = y = 0;
height = 0;
//caption and icon
nameString = NameString;