mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Merge branch 'master' of https://github.com/telegramdesktop/tdesktop
This commit is contained in:
@@ -68,7 +68,7 @@ OverviewInner::CachedLink::CachedLink(HistoryItem *item) : text(st::msgMinWidth)
|
||||
till = msgText.size();
|
||||
}
|
||||
if (till > from) {
|
||||
TextParseOptions opts = { TextParseMultiline, st::linksMaxWidth, 3 * st::msgFont->height, Qt::LayoutDirectionAuto };
|
||||
TextParseOptions opts = { TextParseMultiline, int32(st::linksMaxWidth), 3 * st::msgFont->height, Qt::LayoutDirectionAuto };
|
||||
text.setText(st::msgFont, msgText.mid(from, till - from), opts);
|
||||
}
|
||||
if (page && page->photo) {
|
||||
|
||||
Reference in New Issue
Block a user