diff --git a/SDK/src/NDK/Widgets/TextAreaWidget.cpp b/SDK/src/NDK/Widgets/TextAreaWidget.cpp index d59ad1975..04a6af718 100644 --- a/SDK/src/NDK/Widgets/TextAreaWidget.cpp +++ b/SDK/src/NDK/Widgets/TextAreaWidget.cpp @@ -230,7 +230,7 @@ namespace Ndk else { Nz::String currentText = m_drawer.GetText(); - currentText.Insert(m_cursorPosition, text); + currentText.Insert(currentText.GetCharacterPosition(m_cursorPosition), text); SetText(currentText); m_cursorPosition += text.GetLength();