From 2c8fe342798159e158d2390da7a1e9c5525eaf45 Mon Sep 17 00:00:00 2001 From: nillerusr Date: Fri, 5 May 2023 19:17:06 +0300 Subject: [PATCH] vgui_controls: fix unitialized variable --- vgui2/vgui_controls/TextEntry.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vgui2/vgui_controls/TextEntry.cpp b/vgui2/vgui_controls/TextEntry.cpp index d5fa9179be..882cb17f24 100644 --- a/vgui2/vgui_controls/TextEntry.cpp +++ b/vgui2/vgui_controls/TextEntry.cpp @@ -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);