2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00
This commit is contained in:
John Preston
2014-07-13 13:50:54 +04:00
49 changed files with 3724 additions and 2103 deletions

View File

@@ -1245,9 +1245,9 @@ public:
break;
}
}/**/
for (; _lineEnd > _lineStart + 1; --_lineEnd) {
for (; _lineEnd > _lineStart; --_lineEnd) {
QChar ch = _t->_text.at(_lineEnd - 1);
if (ch != QChar::Space && ch != QChar::LineFeed) {
if ((ch != QChar::Space || _lineEnd == _lineStart + 1) && ch != QChar::LineFeed) {
break;
}
}/**/