Patch textbox crash
This commit is contained in:
parent
532bd88062
commit
2e981b33e7
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user