diff --git a/src/SFML/Graphics/Text.cpp b/src/SFML/Graphics/Text.cpp index d6f16317a..fe61bd650 100644 --- a/src/SFML/Graphics/Text.cpp +++ b/src/SFML/Graphics/Text.cpp @@ -447,7 +447,7 @@ void Text::ensureGeometryUpdate() const Uint32 curChar = m_string[i]; // Skip the \r char to avoid weird graphical issues - if (curChar == '\r') + if (curChar == L'\r') continue; // Apply the kerning offset