diff options
Diffstat (limited to 'WebCore/editing/VisibleSelection.cpp')
-rw-r--r-- | WebCore/editing/VisibleSelection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/editing/VisibleSelection.cpp b/WebCore/editing/VisibleSelection.cpp index 206de86..68d5a3e 100644 --- a/WebCore/editing/VisibleSelection.cpp +++ b/WebCore/editing/VisibleSelection.cpp @@ -237,7 +237,7 @@ void VisibleSelection::appendTrailingWhitespace() for (; charIt.length(); charIt.advance(1)) { UChar c = charIt.characters()[0]; - if (!isSpaceOrNewline(c) && c != noBreakSpace || c == '\n') + if ((!isSpaceOrNewline(c) && c != noBreakSpace) || c == '\n') break; m_end = charIt.range()->endPosition(); } |