diff --git a/Source/Engine/Render2D/Font.cpp b/Source/Engine/Render2D/Font.cpp index 5881c2322..45798dec4 100644 --- a/Source/Engine/Render2D/Font.cpp +++ b/Source/Engine/Render2D/Font.cpp @@ -211,7 +211,7 @@ void Font::ProcessText(const StringView& text, Array& outputLines { cursorX = lastUpperX; tmpLine.LastCharIndex = lastUpperIndex - 1; - currentIndex = lastUpperIndex; + currentIndex = lastUpperIndex + 1; nextCharIndex = currentIndex; } else if (lastUnderscoreIndex != INVALID_INDEX)