mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Merge branch 'dev' of https://github.com/telegramdesktop/tdesktop into dev
This commit is contained in:
@@ -32,7 +32,7 @@ namespace style {
|
||||
modified[_flags] = Font(this);
|
||||
|
||||
f.setPixelSize(size);
|
||||
f.setBold(_flags & FontBold);
|
||||
f.setBold(_flags & FontBold);
|
||||
f.setItalic(_flags & FontItalic);
|
||||
f.setUnderline(_flags & FontUnderline);
|
||||
f.setStyleStrategy(QFont::PreferQuality);
|
||||
|
@@ -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;
|
||||
}
|
||||
}/**/
|
||||
|
Reference in New Issue
Block a user