From f2a54e3cbbe7d70b795f64713c030734a44a739b Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 14 Mar 2024 22:30:52 +0400 Subject: [PATCH] Beta version 4.15.4: Fix build with Xcode. --- Telegram/SourceFiles/history/history_widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }