vgui_controls: fix unitialized variable

This commit is contained in:
nillerusr 2023-05-05 19:17:06 +03:00
parent daff4d4d85
commit 2c8fe34279

View file

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