From ecc401fb5bfa6ef1cba06bdd9a9a701ecfa5b528 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Lucas=20Golini?= Date: Thu, 27 Jun 2019 01:27:38 -0300 Subject: [PATCH] Minor fixes. --HG-- branch : dev --- src/eepp/scene/nodeattribute.cpp | 3 ++- src/eepp/ui/uimenu.cpp | 3 ++- src/eepp/ui/uistyle.cpp | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/eepp/scene/nodeattribute.cpp b/src/eepp/scene/nodeattribute.cpp index 2557fad6c..051677b71 100644 --- a/src/eepp/scene/nodeattribute.cpp +++ b/src/eepp/scene/nodeattribute.cpp @@ -30,7 +30,8 @@ const std::vector& NodeAttribute::Info::getNames() const { return names; } -NodeAttribute::NodeAttribute() +NodeAttribute::NodeAttribute() : + mVolatile( false ) {} NodeAttribute::NodeAttribute( std::string name, std::string value, bool isVolatile ) : diff --git a/src/eepp/ui/uimenu.cpp b/src/eepp/ui/uimenu.cpp index fe0e908c4..84d55cc69 100644 --- a/src/eepp/ui/uimenu.cpp +++ b/src/eepp/ui/uimenu.cpp @@ -20,7 +20,8 @@ UIMenu::UIMenu() : mItemSelected( NULL ), mItemSelectedIndex( eeINDEX_NOT_FOUND ), mClickHide( false ), - mLastTickMove( 0 ) + mLastTickMove( 0 ), + mOwnerNode( NULL ) { mFlags |= UI_AUTO_SIZE; diff --git a/src/eepp/ui/uistyle.cpp b/src/eepp/ui/uistyle.cpp index 00eadeccb..856d69359 100644 --- a/src/eepp/ui/uistyle.cpp +++ b/src/eepp/ui/uistyle.cpp @@ -13,6 +13,7 @@ UIStyle * UIStyle::New( UIWidget * widget ) { } UIStyle::UIStyle( UIWidget * widget ) : + UIState(), mWidget( widget ), mChangingState( false ) {