Browse Source

vgui_controls: fix unitialized variable

pull/249/head
nillerusr 2 years ago
parent
commit
523f4e9eaa
  1. 2
      vgui2/vgui_controls/TextEntry.cpp

2
vgui2/vgui_controls/TextEntry.cpp

@ -95,6 +95,8 @@ TextEntry::TextEntry(Panel *parent, const char *panelName) : BaseClass(parent, p
SetEditable(true); SetEditable(true);
_dataChanged = false;
// initialize the line break array // initialize the line break array
m_LineBreaks.AddToTail(BUFFER_SIZE); m_LineBreaks.AddToTail(BUFFER_SIZE);

Loading…
Cancel
Save