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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user