From: Kevin Funk Date: Tue, 6 Jan 2009 19:50:01 +0000 (+0100) Subject: Fix typo X-Git-Tag: 0.4.0~255 X-Git-Url: https://git.quassel-irc.org/?a=commitdiff_plain;h=7cae1ffb55697d4f685889bdcb223371fea21aa4;p=quassel.git Fix typo --- diff --git a/src/uisupport/inputline.cpp b/src/uisupport/inputline.cpp index b74e10ec..60f34fb0 100644 --- a/src/uisupport/inputline.cpp +++ b/src/uisupport/inputline.cpp @@ -102,15 +102,15 @@ void InputLine::on_returnPressed() { } void InputLine::on_textChanged(QString newText) { - QStringList lineSeperators; - lineSeperators << QString("\r\n") + QStringList lineSeparators; + lineSeparators << QString("\r\n") << QString('\n') << QString('\r'); QString lineSep; - foreach(QString seperator, lineSeperators) { - if(newText.contains(seperator)) { - lineSep = seperator; + foreach(QString separator, lineSeparators) { + if(newText.contains(separator)) { + lineSep = separator; break; } }