diff --git a/Telegram/SourceFiles/history/history_widget.cpp b/Telegram/SourceFiles/history/history_widget.cpp index e759ea5f8..8aa8f7332 100644 --- a/Telegram/SourceFiles/history/history_widget.cpp +++ b/Telegram/SourceFiles/history/history_widget.cpp @@ -4869,7 +4869,7 @@ bool HistoryWidget::updateCmdStartShown() { || (_botMenu.small != textSmall)); if (textChanged) { _botMenu.text = bot->botInfo->botMenuButtonText; - if (_botMenu.small = textSmall) { + if ((_botMenu.small = textSmall)) { if (const auto e = FirstEmoji(_botMenu.text); !e.isEmpty()) { _botMenu.text = e; }