Skip to content

Commit 523f4e9

Browse files
committed
vgui_controls: fix unitialized variable
1 parent 697a9f3 commit 523f4e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vgui2/vgui_controls/TextEntry.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ TextEntry::TextEntry(Panel *parent, const char *panelName) : BaseClass(parent, p
9595

9696
SetEditable(true);
9797

98+
_dataChanged = false;
99+
98100
// initialize the line break array
99101
m_LineBreaks.AddToTail(BUFFER_SIZE);
100102

0 commit comments

Comments
 (0)