diff --git a/Telegram/SourceFiles/history/view/history_view_message.cpp b/Telegram/SourceFiles/history/view/history_view_message.cpp index 5f0938895..d48cff0e2 100644 --- a/Telegram/SourceFiles/history/view/history_view_message.cpp +++ b/Telegram/SourceFiles/history/view/history_view_message.cpp @@ -3129,7 +3129,9 @@ QRect Message::countGeometry() const { contentLeft += (availableWidth - contentWidth) / 2; } } else if (contentWidth < availableWidth && commentsRoot) { - contentLeft += ((st::msgMaxWidth + 2 * st::msgPhotoSkip) - contentWidth) / 2; + contentLeft += std::max( + ((st::msgMaxWidth + 2 * st::msgPhotoSkip) - contentWidth) / 2, + 0); } const auto contentTop = marginTop();