diff --git a/src/SFML/Graphics/Text.cpp b/src/SFML/Graphics/Text.cpp index c59db2ee3..27f3912ec 100644 --- a/src/SFML/Graphics/Text.cpp +++ b/src/SFML/Graphics/Text.cpp @@ -312,9 +312,7 @@ Vector2f Text::findCharacterPos(std::size_t index) const } // Transform the position to global coordinates - position = getTransform().transformPoint(position); - - return position; + return getTransform().transformPoint(position); }