From f9d86283a3180cb64700e6b23f4f796eb433e1bf Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 14 Apr 2026 21:46:05 +0700 Subject: [PATCH] Fix build with GCC. --- Telegram/SourceFiles/history/view/history_view_element.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/view/history_view_element.cpp b/Telegram/SourceFiles/history/view/history_view_element.cpp index a9525e2493..1b595c77a8 100644 --- a/Telegram/SourceFiles/history/view/history_view_element.cpp +++ b/Telegram/SourceFiles/history/view/history_view_element.cpp @@ -2569,7 +2569,7 @@ void Element::blockquoteExpandChanged() { } void Element::invalidateTextSizeCache() { - _textWidth = -1; + _textWidth = 0; _textHeight = 0; _textRealWidth = 0; invalidateTextDependentCache();