diff options
author | Leandro Melo <leandro.melo@nokia.com> | 2010-05-21 16:30:28 +0200 |
---|---|---|
committer | Leandro Melo <leandro.melo@nokia.com> | 2010-05-21 16:32:15 +0200 |
commit | 341ffeb61e53c48c1ac44744a832cb680840c3a7 (patch) | |
tree | defe25997ab0dfe88875aeccffb9bbbd45dce694 /src/plugins/texteditor/generichighlighter/rule.cpp | |
parent | d66d188f51d93a2eb3197f67fb6551912f7628c3 (diff) | |
download | qt-creator-341ffeb61e53c48c1ac44744a832cb680840c3a7.tar.gz |
Removing some trailing white spaces and a minor fix.
Diffstat (limited to 'src/plugins/texteditor/generichighlighter/rule.cpp')
-rw-r--r-- | src/plugins/texteditor/generichighlighter/rule.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/texteditor/generichighlighter/rule.cpp b/src/plugins/texteditor/generichighlighter/rule.cpp index 1ca7349c6a..3ad611938e 100644 --- a/src/plugins/texteditor/generichighlighter/rule.cpp +++ b/src/plugins/texteditor/generichighlighter/rule.cpp @@ -214,8 +214,7 @@ bool Rule::matchEscapeSequence(const QString &text, if (progress->offset() < length) { const QChar &c = text.at(progress->offset()); if (c == kA || c == kB || c == kE || c == kF || c == kN || c == kR || c == kT || - c == kV || c == kV || c == kQuestion || c == kSingleQuote || c == kQuote || - c == kBackSlash) { + c == kV || c == kQuestion || c == kSingleQuote || c == kQuote || c == kBackSlash) { progress->incrementOffset(); return true; } else if (saveRestoreOffset) { |