vgui_controls: fix unitialized variable

This commit is contained in:
nillerusr 2023-05-05 19:17:06 +03:00
parent 697a9f34f9
commit 523f4e9eaa

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);