Patch textbox crash

This commit is contained in:
auria.mg 2018-03-14 21:26:44 -04:00
parent 532bd88062
commit 2e981b33e7

View File

@ -819,6 +819,9 @@ bool CGUIEditBox::processKey(const SEvent& event)
calculateScrollPos();
if (CursorPos > Text.size())
CursorPos = Text.size();
#if defined(_IRR_COMPILE_WITH_WINDOWS_DEVICE_)
switch(event.KeyInput.Key)
{