2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

fixed crash, 0.9.17 version

This commit is contained in:
John Preston
2016-01-04 22:00:37 +08:00
parent b016b859da
commit b82adc7610
6 changed files with 17 additions and 17 deletions

View File

@@ -7022,7 +7022,7 @@ void HistoryReply::initDimensions() {
if (!_media) {
int32 replyw = st::msgPadding.left() + _maxReplyWidth - st::msgReplyPadding.left() - st::msgReplyPadding.right() + st::msgPadding.right();
if (replyToVia()) {
replyw += st::msgServiceFont->spacew + via()->maxWidth;
replyw += st::msgServiceFont->spacew + replyToVia()->maxWidth;
}
if (replyw > _maxw) _maxw = replyw;
}