https://bugs.kde.org/show_bug.cgi?id=412479

--- Comment #2 from Kurt Hindenburg <kurt.hindenb...@gmail.com> ---
I wonder if something in Qt changed since this went in.

This appears to work - we don't want newlines \xa to be counted as spaces.

-            if (!QChar(characterBuffer[spacesCount].character).isSpace()) {
+            const QChar currentChar = characterBuffer[spacesCount].character;
+            if (currentChar == QChar(QLatin1Char('\xa')) ||
!currentChar.isSpace()) {

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to