Browse Source

vgui_controls: fix unitialized boolean

android
nillerusr 4 years ago
parent
commit
d3f308699b
  1. 1
      vgui2/vgui_controls/Button.cpp
  2. 1
      vgui2/vgui_controls/PropertySheet.cpp

1
vgui2/vgui_controls/Button.cpp

@ -72,6 +72,7 @@ void Button::Init() @@ -72,6 +72,7 @@ void Button::Init()
m_bSelectionStateSaved = false;
m_bStaySelectedOnClick = false;
m_bStaySelectedOnClick = false;
m_bStayArmedOnClick = false;
m_sArmedSoundName = UTL_INVAL_SYMBOL;
m_sDepressedSoundName = UTL_INVAL_SYMBOL;
m_sReleasedSoundName = UTL_INVAL_SYMBOL;

1
vgui2/vgui_controls/PropertySheet.cpp

@ -500,6 +500,7 @@ PropertySheet::PropertySheet( @@ -500,6 +500,7 @@ PropertySheet::PropertySheet(
m_pTabKV = NULL;
m_iTabHeight = 0;
m_iTabHeightSmall = 0;
m_bContextButton = false;
if ( m_bDraggableTabs )
{

Loading…
Cancel
Save